diff --git a/theme/boost/scss/moodle/course.scss b/theme/boost/scss/moodle/course.scss index 8451484ecc3..c49311a4acd 100644 --- a/theme/boost/scss/moodle/course.scss +++ b/theme/boost/scss/moodle/course.scss @@ -535,6 +535,7 @@ span.editinstructions { text-decoration: none; z-index: 9999; border: $alert-border-width solid transparent; + width: fit-content; @include alert-variant( theme-color-level('info', $alert-bg-level), diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 36dfa1fe71c..9862d27afd0 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -28459,6 +28459,7 @@ span.editinstructions { text-decoration: none; z-index: 9999; border: 0 solid transparent; + width: fit-content; color: #00434e; background-color: #cce6ea; border-color: #b8dce2; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 41a60b43906..a85f7f3e832 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -28459,6 +28459,7 @@ span.editinstructions { text-decoration: none; z-index: 9999; border: 0 solid transparent; + width: fit-content; color: #00434e; background-color: #cce6ea; border-color: #b8dce2;