Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix date alert page select dropdown spacings

Benjamin Bädorf4371677c73ce
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 8902a61e474..3577b52363a 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
@@ -4,8 +4,8 @@
&--enable
display: flex
align-items: center
- margin-top: 30px
- margin-bottom: 10px
+ margin-top: $spot-spacing-2
+ margin-bottom: $spot-spacing-0_75
&--row
line-height: 45px
@@ -18,9 +18,10 @@
@include text-shortener
&--time
- height: 32px
- width: 128px
- padding: 4px 8px 4px 12px
+ height: $spot-spacing-2
+ width: auto
+ min-width: $spot-spacing-8
+ padding: $spot-spacing-0_25 $spot-spacing-1_5 $spot-spacing-0_25 $spot-spacing-0_75
.op-date-alert-ee-banner
width: 100%
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 39e6b3bcc9b..78968487348 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
@@ -1,22 +1,21 @@
+@import "helpers"
+
:host
max-width: 100%
width: 100%
.op-table
- margin-bottom: 1rem
-
- select
- padding-right: 1rem
+ margin-bottom: $spot-spacing-1
.op-reminder-settings-table-date-alerts
&--time
- height: 32px
+ height: $spot-spacing-2
width: auto
- min-width: 100%
- padding: 4px 22px 4px 12px
+ min-width: $spot-spacing-8
+ padding: $spot-spacing-0_25 $spot-spacing-1_5 $spot-spacing-0_25 $spot-spacing-0_75
margin: auto
.op-table--cell--date-alerts
border: 1px solid #cccccc
text-align: center
- padding: 12px 16px
+ padding: $spot-spacing-0_75 $spot-spacing-1