Skip to content

Commit

Permalink
chore: improved css to resolve small issue with ckeditor
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed Nov 27, 2023
1 parent 8b5e1a5 commit efc7458
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions views/default/navigation/menu/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ html {
}
}

.mm-wrapper {
position: initial;
}

.mm-wrapper--sidebar-collapsed,
.mm-wrapper--opened {
.mm-slideout:before {
Expand All @@ -168,22 +164,19 @@ html {
body:not(.mm-wrapper) {
&.mm-wrapper--sidebar-expanded > .elgg-page {
width: calc(100% - var(--mm-sidebar-expanded-size));
transform: unset;
float: right;
transform: translate3d(var(--mm-sidebar-expanded-size),0,0);
}
&.mm-wrapper--sidebar-closed > .elgg-page {
width: calc(100% - var(--mm-sidebar-collapsed-size));
transform: unset;
float: right;
transform: translate3d(var(--mm-sidebar-collapsed-size),0,0);
}
}
}

@media screen and (min-width: 700px) {
body:not(.mm-wrapper--opening) > .elgg-page {
width: calc(100% - var(--mm-sidebar-collapsed-size));
transform: unset !important;
float: right;
transform: translate3d(var(--mm-sidebar-collapsed-size),0,0);
}
}

Expand All @@ -192,3 +185,8 @@ html {
display: block !important;
}
}

/** CKEDITOR Drop Target Line fix */
.ck-clipboard-drop-target-line {
z-index: 999;
}

0 comments on commit efc7458

Please sign in to comment.