diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index bfe738f1ca8b9..2494256084bb7 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -2091,6 +2091,7 @@ ul { opacity: 0; visibility: hidden; position: absolute; + /*rtl:ignore*/ left: 50%; top: calc(-50% - 5px); transform: translate(-50%, -50%); diff --git a/theme/bootstrapbase/less/moodle/core.less b/theme/bootstrapbase/less/moodle/core.less index fb1dcc45252ca..09bea2a924bf4 100644 --- a/theme/bootstrapbase/less/moodle/core.less +++ b/theme/bootstrapbase/less/moodle/core.less @@ -2359,6 +2359,7 @@ h3.sectionname .inplaceeditable.inplaceeditingon .editinstructions { opacity: 0; visibility: hidden; position: absolute; + /*rtl:ignore*/ left: 50%; top: ~"calc(-50% - 5px)"; transform: translate(-50%, -50%); diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 0bcaad4024be7..6d2d1636be1d2 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -2435,6 +2435,7 @@ h3.sectionname .inplaceeditable.inplaceeditingon .editinstructions { opacity: 0; visibility: hidden; position: absolute; + /*rtl:ignore*/ left: 50%; top: calc(-50% - 5px); transform: translate(-50%, -50%);