From 91c178b4502611b370b6cea86ba545a2b049e700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Wed, 15 Apr 2026 20:13:32 +0200 Subject: [PATCH] fixes in css --- .../routers/routers-page.component.html | 9 +++++++-- frontend/src/styles/pages.css | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/features/routers/routers-page.component.html b/frontend/src/app/features/routers/routers-page.component.html index 4352de4..ae65e2b 100644 --- a/frontend/src/app/features/routers/routers-page.component.html +++ b/frontend/src/app/features/routers/routers-page.component.html @@ -22,31 +22,36 @@ - + {{ 'routers.name' | translate }}{{ 'routers.endpoint' | translate }}{{ 'routers.access' | translate }}{{ 'routers.backupPolicy' | translate }}{{ 'routers.ping' | translate }}{{ 'common.actions' | translate }} -
{{ routerItem.name }}
+ {{ 'routers.name' | translate }} +
{{ routerItem.name }}
{{ deviceTypeLabel(routerItem) }} + {{ 'routers.endpoint' | translate }}
{{ routerItem.host }}:{{ routerItem.port }}
{{ accessUser(routerItem) }} + {{ 'routers.access' | translate }}
+ {{ 'routers.backupPolicy' | translate }}
{{ backupPolicyLabel(routerItem) }}
{{ 'common.disabled' | translate }} + {{ 'routers.ping' | translate }} {{ pingLabel(routerItem) }} diff --git a/frontend/src/styles/pages.css b/frontend/src/styles/pages.css index 7e399b8..091e44e 100644 --- a/frontend/src/styles/pages.css +++ b/frontend/src/styles/pages.css @@ -3138,6 +3138,17 @@ body.dark-theme .device-toggle.is-active{background:linear-gradient(135deg,color padding-inline: 0.8rem; } + +.repository-table--routers.app-table .p-datatable-thead > tr > th:first-child, +.repository-table--routers.app-table .p-datatable-tbody > tr > td:first-child{ + width: 18%; + min-width: 220px; + max-width: 0; +} +.repository-table--routers .table-primary--ellipsis{ + max-width: 100%; +} + .repository-table .table-primary--ellipsis{ display:block; max-width:100%; @@ -3336,6 +3347,13 @@ body.dark-theme .device-toggle.is-active{background:linear-gradient(135deg,color text-overflow:unset; } + .repository-table--routers.app-table .p-datatable-thead > tr > th:first-child, + .repository-table--routers.app-table .p-datatable-tbody > tr > td:first-child{ + width: auto; + min-width: 0; + max-width: none; + } + .repository-table--files.app-table .p-datatable-thead > tr > th:nth-child(2), .repository-table--files.app-table .p-datatable-tbody > tr > td:nth-child(2), .repository-table--files.app-table .p-datatable-thead > tr > th:nth-child(7),