From 8fcad16a925125a68b679d001b8952be1563a2e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Mon, 12 Dec 2022 10:59:52 +0100 Subject: [PATCH] Fix notification setting label width The labels were fixed to a width that was too small for some translations strings. Closes https://community.openproject.org/work_packages/45163/activity --- .../page/notifications-settings-page.component.sass | 2 +- .../table/notification-settings-table.component.sass | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.sass b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.sass index ccb2fa5dda..d000bcd420 100644 --- a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.sass +++ b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.sass @@ -13,7 +13,7 @@ align-items: center &--label - flex: 0 0 100px + flex: 0 0 120px margin-bottom: 0 @include text-shortener diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.sass b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.sass index 101bcc4e64..39e6b3bcc9 100644 --- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.sass +++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.sass @@ -5,11 +5,15 @@ .op-table margin-bottom: 1rem + select + padding-right: 1rem + .op-reminder-settings-table-date-alerts &--time height: 32px - width: 137px - padding: 4px 8px 4px 12px + width: auto + min-width: 100% + padding: 4px 22px 4px 12px margin: auto .op-table--cell--date-alerts