diff --git a/theme/boost/scss/moodle/course.scss b/theme/boost/scss/moodle/course.scss index 297ccaf56f7..92a8af43478 100644 --- a/theme/boost/scss/moodle/course.scss +++ b/theme/boost/scss/moodle/course.scss @@ -656,6 +656,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 714278b9d83..2bd2e24f077 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -28537,6 +28537,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 f5c928a29f1..bd65dbef454 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -28537,6 +28537,7 @@ span.editinstructions { text-decoration: none; z-index: 9999; border: 0 solid transparent; + width: fit-content; color: #00434e; background-color: #cce6ea; border-color: #b8dce2;