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 minor issues introduced by Primer

Henriette Darge7b89038746e0
diff --git a/frontend/src/app/features/boards/board/configuration-modal/tabs/highlighting-tab.component.html b/frontend/src/app/features/boards/board/configuration-modal/tabs/highlighting-tab.component.html
index a688a24e5e3..941d0856cfa 100644
--- a/frontend/src/app/features/boards/board/configuration-modal/tabs/highlighting-tab.component.html
+++ b/frontend/src/app/features/boards/board/configuration-modal/tabs/highlighting-tab.component.html
@@ -1,7 +1,7 @@
<div>
<form>
<p [textContent]="text.highlighting_mode.description"></p>
-
+
<div class="form--field -full-width">
<div class="form--field-container">
<label class="option-label">
@@ -15,7 +15,7 @@
<select (change)="updateMode($event.target.value)"
id="selected_attribute"
name="selected_attribute"
- class="form--select form--inline-select">
+ class="form--select form--inline-select option-label--select">
<option [textContent]="text.highlighting_mode.type"
[selected]="lastEntireCardAttribute === 'type'"
value="type"></option>
@@ -41,4 +41,3 @@
</form>
</div>
-
diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/display-settings-tab.component.html b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/display-settings-tab.component.html
index fca91dbae60..8615d86ae59 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/display-settings-tab.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/display-settings-tab.component.html
@@ -47,7 +47,7 @@
<select (change)="updateGroup($event.target.value)"
id="selected_grouping"
name="selected_grouping"
- class="form--select form--inline-select">
+ class="form--select form--inline-select option-label--select">
<option *ngFor="let group of availableGroups"
[textContent]="group.name"
[selected]="currentGroup && currentGroup!.href === group.href"
diff --git a/frontend/src/global_styles/content/_editable_toolbar.sass b/frontend/src/global_styles/content/_editable_toolbar.sass
index 06de54a39d9..411ed01f940 100644
--- a/frontend/src/global_styles/content/_editable_toolbar.sass
+++ b/frontend/src/global_styles/content/_editable_toolbar.sass
@@ -12,7 +12,7 @@
.title-container.-small
.editable-toolbar-title--fixed
- font-size: 1.2rem
+ font-size: 1rem
line-height: 32px
.toolbar--editable-toolbar
diff --git a/frontend/src/global_styles/content/_forms.sass b/frontend/src/global_styles/content/_forms.sass
index 4ac1a137e30..7f6720fe003 100644
--- a/frontend/src/global_styles/content/_forms.sass
+++ b/frontend/src/global_styles/content/_forms.sass
@@ -430,8 +430,8 @@ fieldset.form--fieldset
flex-grow: 2
align-items: stretch
- label.option-label
- font-weight: normal
+ .option-label .option-label--select
+ margin-left: $spot-spacing-1
&.-wrap-around
display: flex
diff --git a/frontend/src/global_styles/openproject/_mixins.sass b/frontend/src/global_styles/openproject/_mixins.sass
index 2c3287dc8fd..c802dba803d 100644
--- a/frontend/src/global_styles/openproject/_mixins.sass
+++ b/frontend/src/global_styles/openproject/_mixins.sass
@@ -300,7 +300,7 @@ $scrollbar-size: 10px
@mixin board-header-editable-toolbar-title
- line-height: 1 !important
+ line-height: normal !important
@mixin global-breadcrumb-styles
margin-top: 10px
diff --git a/modules/bim/app/views/bim/bcf/issues/configure_unknown_mails.html.erb b/modules/bim/app/views/bim/bcf/issues/configure_unknown_mails.html.erb
index c85b0d27456..81bb290e0df 100644
--- a/modules/bim/app/views/bim/bcf/issues/configure_unknown_mails.html.erb
+++ b/modules/bim/app/views/bim/bcf/issues/configure_unknown_mails.html.erb
@@ -20,6 +20,7 @@
title: t(:label_role_search),
tabIndex: 0,
container_class: '-slim',
+ class: 'option-label--select',
id: 'unknown_mails_invite_role_ids' %>
(<%= t('bcf.recommended') %>)
</label>
@@ -59,4 +60,3 @@
defaults_bcf_project_ifc_models_path(@project),
class: 'button' %>
<% end %>
-