Skip to content

Commit

Permalink
fix: Fix weird floating bug with toolbar more buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
sakhawy committed Apr 14, 2024
1 parent b89d19c commit 729a8b4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cms/static/cms/sass/components/_toolbar.scss
Expand Up @@ -56,7 +56,7 @@
// items
.cms-toolbar-item {
float: left;
[dir="rtl"] & {
[dir=rtl] & {
float: right;
}
}
Expand Down Expand Up @@ -237,6 +237,12 @@

.cms-toolbar-item {
float: none;
[dir=rtl] & {
// a bit weird, but if removed, it will best match
// with [dir="rtl"] div.cms .cms-toolbar .cms-toolbar-item
// and will float to the right
float: none;
}
margin: $toolbar-menu-item-padding !important;
overflow: hidden;
margin-top: 5px;
Expand Down

0 comments on commit 729a8b4

Please sign in to comment.