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 line-heights for spot-body-big, use correct line-heights in spot-list

Benjamin Bädorf84a30ab54c6a
diff --git a/frontend/src/app/spot/styles/sass/components/list.sass b/frontend/src/app/spot/styles/sass/components/list.sass
index 22bf4d507b1..dc2a6588d74 100644
--- a/frontend/src/app/spot/styles/sass/components/list.sass
+++ b/frontend/src/app/spot/styles/sass/components/list.sass
@@ -11,6 +11,8 @@
flex-direction: column
&-action
+ @include spot-body-big
+
display: flex
align-items: center
justify-content: flex-start
@@ -20,9 +22,6 @@
border: 0
cursor: pointer
- @include spot-body-big
- line-height: $spot-spacing-1_5
-
&:hover
background-color: $spot-color-main-light
@@ -41,4 +40,4 @@
$item-list: list.append($item-list, ".spot-list--item")
#{$item-list} .spot-list--item-action
- padding-left: $i * $spot-spacing-1_5
+ padding-left: $i * $spot-spacing-1
diff --git a/frontend/src/app/spot/styles/sass/variables/typography.sass b/frontend/src/app/spot/styles/sass/variables/typography.sass
index cfbc16bc40c..1e58c158cee 100644
--- a/frontend/src/app/spot/styles/sass/variables/typography.sass
+++ b/frontend/src/app/spot/styles/sass/variables/typography.sass
@@ -31,7 +31,7 @@
font-size: 1rem
font-weight: $weight
font-style: $style
- line-height: 2rem
+ line-height: 1.5rem
@mixin spot-body-small($weight: normal, $style: normal)
font-family: Lato, sans-serif