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 styles

Dmitrii9cee041a9c61
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index a6435bb5c8d..662e9f4e7e3 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -631,7 +631,7 @@ en:
no_notification: No notification
timeframes:
normal:
- PT0S: Same day
+ PT0S: same day
P1D: 1 day before
P3D: 3 days before
P7D: a week before
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 50bd81f7ad9..8db7c36c3be 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
@@ -19,4 +19,5 @@
&--time
height: 32px
- width: 150px
+ width: 128px
+ padding: 4px 8px 4px 12px
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
index 6e6e3742bcc..1f3d8069e90 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
@@ -94,10 +94,10 @@
{{ text.startDate }}
</th>
<ng-container *ngFor="let item of settings.controls">
- <td class="op-table--cell" [formGroup]="item">
+ <td class="op-table--cell--date-alerts" [formGroup]="item">
<select
formControlName="startDate"
- class="form--select"
+ class="op-reminder-settings-table-date-alerts--time form--select"
required="true"
>
<option
@@ -116,10 +116,10 @@
{{ text.dueDate }}
</th>
<ng-container *ngFor="let item of settings.controls">
- <td class="op-table--cell" [formGroup]="item">
+ <td class="op-table--cell--date-alerts" [formGroup]="item">
<select
formControlName="dueDate"
- class="form--select"
+ class="op-reminder-settings-table-date-alerts--time form--select"
required="true"
>
<option
@@ -138,10 +138,10 @@
{{ text.overdue }}
</th>
<ng-container *ngFor="let item of settings.controls">
- <td class="op-table--cell" [formGroup]="item">
+ <td class="op-table--cell--date-alerts" [formGroup]="item">
<select
formControlName="overdue"
- class="form--select"
+ class="op-reminder-settings-table-date-alerts--time form--select"
required="true"
>
<option
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 ebc2517922a..a463d65a6ff 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
@@ -4,3 +4,14 @@
.op-table
margin-bottom: 1rem
+
+.op-reminder-settings-table-date-alerts
+ &--time
+ height: 32px
+ width: 137px
+ padding: 4px 8px 4px 12px
+
+.op-table--cell--date-alerts
+ border: 1px solid #cccccc
+ text-align: center
+ padding: 12px 16px 12px 30px
\ No newline at end of file