Skip to content

Commit

Permalink
fix(ffe-buttons): center icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Hellstrand committed May 7, 2024
1 parent 48ab604 commit 9e54345
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/ffe-buttons/less/base-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@
width: auto;

.ffe-button__icon > .ffe-icons {
display: block;
color: var(--ffe-v-button-task-primary-color);
}

Expand Down
3 changes: 2 additions & 1 deletion packages/ffe-buttons/less/inline-base-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

.ffe-inline-button--back {
color: var(--ffe-v-button-primary-color);
line-height: 24px;
line-height: 1;
padding: var(--ffe-spacing-xs) var(--ffe-spacing-md) var(--ffe-spacing-xs)
var(--ffe-spacing-2xl);
outline: none;
Expand All @@ -61,6 +61,7 @@

.ffe-inline-button__icon {
color: var(--ffe-v-button-primary-color);
display: block;
}

@media (hover: hover) and (pointer: fine) {
Expand Down

0 comments on commit 9e54345

Please sign in to comment.