Skip to content

Commit

Permalink
Fix: Modal buttons did not respect dir attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed May 2, 2024
1 parent 61e4cef commit bc52f94
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cms/static/cms/sass/components/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@
$margin: math.div($toolbar-height - $toolbar-button-height, 2);
@extend .cms-toolbar-item-buttons;
float: right;
&:dir(rtl) {
float: left;
}
margin-inline-start: $margin;

.cancel-link {
Expand All @@ -264,6 +267,9 @@
}
.cms-modal-item-buttons-left {
float: left;
&:dir(rtl) {
float: right;
}
}

// alter footer when html markup is loaded
Expand Down

0 comments on commit bc52f94

Please sign in to comment.