mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-60250 theme_bootstrapbase: Calendar popover misplaced in RTL langs.
This commit is contained in:
parent
849405177f
commit
6d5f9d1218
@ -6,6 +6,7 @@
|
||||
.popover {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
/*rtl:ignore*/
|
||||
left: 0;
|
||||
z-index: @zindexPopover;
|
||||
display: none;
|
||||
|
@ -51,3 +51,10 @@ in the compiled CSS (MDL-53152):
|
||||
* @gridRowWidth
|
||||
* @gridRowWidth1200
|
||||
* @gridRowWidth768
|
||||
|
||||
popovers.less
|
||||
-------------
|
||||
MDL-60250 - The '/*rtl:ignore*/' directive has been added to the 'left' attribute of the 'popover' class so that
|
||||
the rtlcss-php tool (https://github.com/moodlehq/rtlcss-php) does not flip this to a 'right' attribute and cause
|
||||
the popover to be misplaced on the page when the JavaScript calculates the postion of the popover and adds an
|
||||
overriding inline CSS 'left' attribute which is fine in LTR languages but confuses it in RTL languages.
|
||||
|
@ -14968,6 +14968,7 @@ input[type="submit"].btn.btn-mini {
|
||||
.popover {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
/*rtl:ignore*/
|
||||
left: 0;
|
||||
z-index: 1010;
|
||||
display: none;
|
||||
|
Loading…
x
Reference in New Issue
Block a user