Skip to content

Commit 5261482

Browse files
authored
fix(modal): center fluid action buttons correctly
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
1 parent 9b1f9ef commit 5261482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/definitions/modules/modal.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
border-top: @actionBorder;
176176
text-align: @actionAlign;
177177
}
178-
.ui.modal .actions > .button {
178+
.ui.modal .actions > .button:not(.fluid) {
179179
margin-left: @buttonDistance;
180180
}
181181
.ui.basic.modal > .actions {

0 commit comments

Comments
 (0)