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

add margin right to the scheduling icon

Behrokh Satarnejad2937abdac305
diff --git a/frontend/src/global_styles/content/work_packages/timelines/elements/_labels.sass b/frontend/src/global_styles/content/work_packages/timelines/elements/_labels.sass
index 1339f645682..c50951255cb 100644
--- a/frontend/src/global_styles/content/work_packages/timelines/elements/_labels.sass
+++ b/frontend/src/global_styles/content/work_packages/timelines/elements/_labels.sass
@@ -1,7 +1,6 @@
@mixin timeline-label
display: flex
align-items: center
- height: 16px
min-width: 20px
width: max-content
font-size: 14px
@@ -9,6 +8,13 @@
vertical-align: middle
pointer-events: none
+@mixin scheduling-icon
+ span
+ display: flex
+ align-items: center
+ .display-field--scheduling-icon
+ margin-right: 0.25rem
+
.timeline-element
// Label style
.-label-style.not-empty
@@ -37,6 +43,7 @@
transform: translateX(calc(-100% - 15px))
// Ensure line-height is normal
line-height: 1
+ @include scheduling-icon
.containerRight
@include timeline-label
@@ -49,6 +56,7 @@
.labelRight.not-empty
@include timeline-label
margin-left: 20px
+ @include scheduling-icon
.labelFarRight
@include timeline-label
@@ -68,6 +76,7 @@
// Then translate by its own width + some margin
transform: translateX(calc(100% + 10px))
font-size: 12px
+ @include scheduling-icon
&.-editable
cursor: ew-resize