Skip to content

Commit

Permalink
Merge pull request #2139 from SpareBank1/change-base-button-line-heig…
Browse files Browse the repository at this point in the history
…ht-to-ch

fix(ffe-buttons): endre line-height i basebutton
  • Loading branch information
pethel authored Jul 2, 2024
2 parents 5a3e9e4 + b76b0fe commit b56d76f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ffe-buttons/less/base-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
display: flex;
font-family: var(--ffe-g-font);
justify-content: center;
line-height: 24px;
line-height: 1.2;
overflow: hidden;
padding: @ffe-spacing-xs @ffe-spacing-md;
padding: calc(var(--ffe-spacing-xs) + 2px) var(--ffe-spacing-md); // The + 2px is ensure button is 44px after we made a change to line-height.
position: relative;
text-align: center;
text-decoration: none;
Expand Down

0 comments on commit b56d76f

Please sign in to comment.