diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index bfe738f1ca8..2494256084b 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 fb1dcc45252..09bea2a924b 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 0bcaad4024b..6d2d1636be1 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%);