Skip to content

Commit

Permalink
🐛 fix(button): labels will break in groups when there is not enough s…
Browse files Browse the repository at this point in the history
…pace (#1467)

fix(button): labels will break in groups when there is not enough space
  • Loading branch information
hirsch88 committed Sep 18, 2024
1 parent 045d5f7 commit 26571f3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/stupid-pets-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@baloise/ds-core': patch
---

**button**: labels will break in groups when there is not enough space
2 changes: 1 addition & 1 deletion packages/css/src/core/form/button.sass
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
min-height: 3rem
height: auto
text-align: left
word-break: break-word
word-break: normal
box-shadow: none
outline: none
box-sizing: border-box
Expand Down
1 change: 0 additions & 1 deletion packages/css/src/core/form/tools.sass
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
display: flex
justify-content: flex-start
& > .control
flex-shrink: 0
&:not(:last-child)
margin-bottom: 0
&.is-expanded
Expand Down
2 changes: 1 addition & 1 deletion packages/styles/src/core/form/button.sass
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
min-height: 3rem
height: auto
text-align: left
word-break: break-word
word-break: normal
box-shadow: none
outline: none
box-sizing: border-box
Expand Down
1 change: 0 additions & 1 deletion packages/styles/src/core/form/tools.sass
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
display: flex
justify-content: flex-start
& > .control
flex-shrink: 0
&:not(:last-child)
margin-bottom: 0
&.is-expanded
Expand Down

0 comments on commit 26571f3

Please sign in to comment.