Skip to content

Commit

Permalink
fix(modal): center fluid action buttons correctly
Browse files Browse the repository at this point in the history
In case a fluid action button is used within a modal, it was not centered correctly because of the left margin. As fluid buttons occupy the whole width this PR removes the left margin in those cases
  • Loading branch information
lubber-de authored Apr 9, 2020
1 parent 9b1f9ef commit 5261482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/modules/modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
border-top: @actionBorder;
text-align: @actionAlign;
}
.ui.modal .actions > .button {
.ui.modal .actions > .button:not(.fluid) {
margin-left: @buttonDistance;
}
.ui.basic.modal > .actions {
Expand Down

0 comments on commit 5261482

Please sign in to comment.