From 04743ce342df55a6730a5f9de3ec5bbfc1c0c8f1 Mon Sep 17 00:00:00 2001 From: 4gray Date: Tue, 7 Jul 2026 04:08:52 +0200 Subject: [PATCH] fix(portals): address search back-button review (dialog guard, RTL-safe spacing) - showBackButton now also checks !dialogRef, so a hypothetical dialog opened with isGlobalSearch:false from a workspace route can't show a back arrow that navigates the page behind the dialog (greptile). - Replaced the fragile negative margin with a header-title-group flex wrapper (gap: 4px) that keeps the arrow and title together regardless of the outer gap or Material padding, and is RTL-safe (greptile). Co-Authored-By: Claude Fable 5 --- .../search-layout.component.html | 24 ++++++++++--------- .../search-layout.component.scss | 10 ++++++-- .../search-results.component.ts | 7 ++++-- 3 files changed, 26 insertions(+), 15 deletions(-) diff --git a/libs/portal/shared/ui/src/lib/components/search-layout/search-layout.component.html b/libs/portal/shared/ui/src/lib/components/search-layout/search-layout.component.html index 842629cf1..419b28f15 100644 --- a/libs/portal/shared/ui/src/lib/components/search-layout/search-layout.component.html +++ b/libs/portal/shared/ui/src/lib/components/search-layout/search-layout.component.html @@ -7,17 +7,19 @@