From 55b80497a36412f121d6da9f9e287f0ad935ad72 Mon Sep 17 00:00:00 2001 From: Lyubov Voloshko Date: Sat, 27 Sep 2025 00:09:39 +0300 Subject: [PATCH] table list: fix Collapse button alignment --- .../dashboard/dashboard.component.css | 11 ++----- .../dashboard/dashboard.component.html | 31 +++++++++---------- .../db-table-row-view.component.html | 4 +-- .../db-table-view.component.html | 2 +- .../saved-filters-panel.component.html | 2 +- .../db-tables-list.component.css | 2 +- 6 files changed, 23 insertions(+), 29 deletions(-) diff --git a/frontend/src/app/components/dashboard/dashboard.component.css b/frontend/src/app/components/dashboard/dashboard.component.css index 066b922fe..4db64c67b 100644 --- a/frontend/src/app/components/dashboard/dashboard.component.css +++ b/frontend/src/app/components/dashboard/dashboard.component.css @@ -48,14 +48,9 @@ padding: 0 24px; } -.toggle-button-position { - display: flex; - justify-content: center; - margin-top: 24px; -} - -.toggle-button_opened { - width: calc(100% - 32px); +.toggle-button { + margin-top: 8px; + margin-left: 12px; } .dashboard { diff --git a/frontend/src/app/components/dashboard/dashboard.component.html b/frontend/src/app/components/dashboard/dashboard.component.html index 64eefe018..87911c778 100644 --- a/frontend/src/app/components/dashboard/dashboard.component.html +++ b/frontend/src/app/components/dashboard/dashboard.component.html @@ -47,27 +47,26 @@

Rocketadmin can not find any tables

-
- + + + - - - - -
+ Preview
{{column.normalizedTitle}} - + Preview - + {{ displayName }}
- {{ getFilter(activeFilter) }}
- + {{ getFilter(filter) }}
diff --git a/frontend/src/app/components/dashboard/db-tables-list/db-tables-list.component.css b/frontend/src/app/components/dashboard/db-tables-list/db-tables-list.component.css index 12f0bb39e..e12d3204d 100644 --- a/frontend/src/app/components/dashboard/db-tables-list/db-tables-list.component.css +++ b/frontend/src/app/components/dashboard/db-tables-list/db-tables-list.component.css @@ -87,7 +87,7 @@ .search-input { background-color: transparent; - margin-top: 12px; + margin-top: 4px; margin-left: 16px; margin-bottom: -24px; width: calc(100% - 32px);