mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Merge branch 'MDL-78237-master' of https://github.com/davewoloszyn/moodle
This commit is contained in:
commit
b49b76c41c
4 changed files with 25 additions and 0 deletions
|
@ -21,3 +21,15 @@
|
||||||
.tox.tox-tinymce .tox-toolbar__group {
|
.tox.tox-tinymce .tox-toolbar__group {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Prevent navbar obscuring modal content (ignores fullscreen). */
|
||||||
|
.tox.tox-tinymce:not(.tox-fullscreen) + .tox .tox-dialog-wrap {
|
||||||
|
padding-top: var(--navbar-height);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Modify Tiny's max-height calculation here to factor in navbar height on small viewports (ignores fullscreen). */
|
||||||
|
@media only screen and (max-width: 767px) {
|
||||||
|
body:not(.tox-force-desktop) .tox.tox-tinymce:not(.tox-fullscreen) + .tox .tox-dialog-wrap .tox-dialog {
|
||||||
|
max-height: calc((100vh - 8px * 2) - var(--navbar-height)) !important; /* stylelint-disable-line declaration-no-important */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -169,3 +169,8 @@
|
||||||
.pagelayout-embedded #page {
|
.pagelayout-embedded #page {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make navbar height available for non-sass use.
|
||||||
|
:root {
|
||||||
|
--navbar-height: #{$navbar-height};
|
||||||
|
}
|
||||||
|
|
|
@ -36974,6 +36974,10 @@ div.editor_atto_toolbar button .icon {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--navbar-height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reportbuilder.
|
* Reportbuilder.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -36908,6 +36908,10 @@ div.editor_atto_toolbar button .icon {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--navbar-height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reportbuilder.
|
* Reportbuilder.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue