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 font spacing with line-height instead of padding

Benjamin Bädorf275ebe6d62bb
diff --git a/frontend/src/app/spot/styles/sass/components/list.sass b/frontend/src/app/spot/styles/sass/components/list.sass
index f207305277a..22bf4d507b1 100644
--- a/frontend/src/app/spot/styles/sass/components/list.sass
+++ b/frontend/src/app/spot/styles/sass/components/list.sass
@@ -20,6 +20,9 @@
border: 0
cursor: pointer
+ @include spot-body-big
+ line-height: $spot-spacing-1_5
+
&:hover
background-color: $spot-color-main-light
@@ -28,8 +31,6 @@
cursor: default
&-title
- padding-top: 1px
-
&:not(:first-child)
margin-left: $spot-spacing-0_5
&:not(:last-child)
diff --git a/frontend/src/app/spot/styles/sass/variables/typography.sass b/frontend/src/app/spot/styles/sass/variables/typography.sass
index 903b7772193..cfbc16bc40c 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: 1.2em
+ line-height: 2rem
@mixin spot-body-small($weight: normal, $style: normal)
font-family: Lato, sans-serif