From 225aab8f651c239633335aabb1a95731ac1ca236 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Wed, 19 Oct 2022 20:28:24 +0100 Subject: [PATCH] MDL-76000 theme_boost: reset form padding when in tertiary navigation. --- theme/boost/scss/moodle/tertiarynavigation.scss | 8 ++++++++ theme/boost/style/moodle.css | 4 ++++ theme/classic/style/moodle.css | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/theme/boost/scss/moodle/tertiarynavigation.scss b/theme/boost/scss/moodle/tertiarynavigation.scss index 0e5eed6b2bbd1..980d4436f97b9 100644 --- a/theme/boost/scss/moodle/tertiarynavigation.scss +++ b/theme/boost/scss/moodle/tertiarynavigation.scss @@ -24,6 +24,14 @@ } } +@include media-breakpoint-down(sm) { + .tertiary-navigation { + .mform { + padding-left: initial; + } + } +} + @media print { .tertiary-navigation { display: none; diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 7120d1ba330f0..a82cfc7396d04 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -21754,6 +21754,10 @@ div.editor_atto_toolbar button .icon { font-size: 1.4rem; font-weight: bold; } +@media (max-width: 767.98px) { + .tertiary-navigation .mform { + padding-left: initial; } } + @media print { .tertiary-navigation { display: none; } } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 85667cd77403b..721b6c21ee247 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -21700,6 +21700,10 @@ div.editor_atto_toolbar button .icon { font-size: 1.4rem; font-weight: bold; } +@media (max-width: 767.98px) { + .tertiary-navigation .mform { + padding-left: initial; } } + @media print { .tertiary-navigation { display: none; } }