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 spacing of help text

Oliver Güntherba9a994d4ad9
diff --git a/frontend/src/app/spot/components/form-field/form-field.component.html b/frontend/src/app/spot/components/form-field/form-field.component.html
index 8691a6d2332..3c6565a4c61 100644
--- a/frontend/src/app/spot/components/form-field/form-field.component.html
+++ b/frontend/src/app/spot/components/form-field/form-field.component.html
@@ -12,6 +12,7 @@
<span *ngIf="required" class="spot-form-field--label-indicator">*</span>
<attribute-help-text
+ class="spot-form-field--help-text"
[attribute]="helpTextAttribute"
[attributeScope]="helpTextAttributeScope"
></attribute-help-text>
diff --git a/frontend/src/app/spot/components/selector-field/selector-field.component.html b/frontend/src/app/spot/components/selector-field/selector-field.component.html
index 8b7dfd8188c..682f7bb5d8f 100644
--- a/frontend/src/app/spot/components/selector-field/selector-field.component.html
+++ b/frontend/src/app/spot/components/selector-field/selector-field.component.html
@@ -22,6 +22,7 @@
{{ label }}
<span *ngIf="required" class="spot-form-field--label-indicator">*</span>
<attribute-help-text
+ class="spot-form-field--help-text"
[attribute]="helpTextAttribute"
[attributeScope]="helpTextAttributeScope"
></attribute-help-text>
diff --git a/frontend/src/app/spot/styles/sass/components/form-field.sass b/frontend/src/app/spot/styles/sass/components/form-field.sass
index c801140eeed..9e188ee45c0 100644
--- a/frontend/src/app/spot/styles/sass/components/form-field.sass
+++ b/frontend/src/app/spot/styles/sass/components/form-field.sass
@@ -25,6 +25,9 @@
&-indicator
color: $spot-color-basic-black
+ &--help-text
+ padding-left: $spot-spacing-0-25
+
&--input
margin-bottom: $spot-spacing-0_25