Skip to content

Commit

Permalink
chore(Button): text-align: inherit when not in full width
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Aug 8, 2024
1 parent 89f959d commit cd82d4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/css/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
cursor: pointer;
font-family: inherit;
justify-content: center;
text-align: center;
text-align: inherit;
text-decoration: none;
position: relative;
border-radius: var(--ds-border-radius-md);
Expand Down Expand Up @@ -85,6 +85,7 @@

.ds-btn--full-width {
width: 100%;
text-align: center;
}

.ds-btn--secondary,
Expand Down

0 comments on commit cd82d4e

Please sign in to comment.