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 style issues on legends

bsatarnejad0206187c498d
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.html b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.html
index 746696c40a1..f6afe4f3863 100644
--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.html
@@ -6,7 +6,7 @@
>
<span
slot="trigger"
- class="spot-icon spot-icon_info2"
+ class="spot-icon spot-icon_1 spot-icon_info2"
></span>
<p
slot="body"
@@ -18,10 +18,10 @@
</spot-tooltip>
</span>
<div class="op-baseline-legends--details hidden-for-mobile">
- <span class="spot-icon spot-icon_add op-baseline-legends--details-icon-added"></span>
+ <span class="spot-icon spot-icon_1 spot-icon_add op-baseline-legends--details-icon-added"></span>
<span class="op-baseline-legends--details-added">{{text.now_meets_filter_criteria}}</span>
- <span class="spot-icon spot-icon_minus1 op-baseline-legends--details-icon-removed"></span>
+ <span class="spot-icon spot-icon_1 spot-icon_minus1 op-baseline-legends--details-icon-removed"></span>
<span class="op-baseline-legends--details-removed">{{text.no_longer_meets_filter_criteria}}</span>
- <span class="spot-icon spot-icon_arrow-left-right op-baseline-legends--details-icon-changed"></span>
+ <span class="spot-icon spot-icon_1 spot-icon_arrow-left-right op-baseline-legends--details-icon-changed"></span>
<span class="op-baseline-legends--details-changed">{{text.maintained_with_changes}}</span>
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.sass b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.sass
index 232d96977c2..6bf7f501f2f 100644
--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.sass
+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.sass
@@ -6,9 +6,9 @@
align-items: center
padding: $spot-spacing-0_75 $spot-spacing-1
border: 1px solid $spot-color-basic-gray-4
- line-height: $spot-spacing-1_5
margin-right: $spot-spacing-1
margin-bottom: $spot-spacing-0_5
+ @include spot-caption
&--filter
display: flex
@@ -23,7 +23,7 @@
flex-direction: row
align-items: flex-start
justify-content: flex-end
- gap: $spot-spacing-1
+ gap: $spot-spacing-0_5
margin-left: auto
&-icon-added