Skip to content

Commit

Permalink
Merge pull request #1039 from City-of-Helsinki/UHF-10171_popup_layout…
Browse files Browse the repository at this point in the history
…_fixes

UHF-10171: Align link buttons and buttons text always on center
  • Loading branch information
teroelonen authored Aug 14, 2024
2 parents 04e7ec2 + 41b9a66 commit c356b06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/css/ckeditor.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/scss/05_objects/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ a[href][data-hds-component='button']:not([class*='hds-button']) {
padding-inline-end: calc(var(--spacing-l) + var(--button-padding-end-adjust, 0px) + var(--button-padding-end-adjust-supplementary, 0px)); // Default padding + button with icon adjust + supplementary button adjust
padding-inline-start: calc(var(--spacing-l) + var(--button-padding-start-adjust, 0px) + var(--button-padding-start-adjust-supplementary, 0px)); // Default padding + button with icon adjust + supplementary button adjust
position: relative;
text-align: center;
text-decoration: none;

// Normalize.css rule
Expand Down

0 comments on commit c356b06

Please sign in to comment.