Skip to content

Commit

Permalink
Merge branch 'wip_MDL-60250_master' of git://github.com/gjb2048/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Oct 25, 2017
2 parents 507335e + 6d5f9d1 commit 3b4e9a9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme/bootstrapbase/less/bootstrap/popovers.less
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.popover { .popover {
position: absolute; position: absolute;
top: 0; top: 0;
/*rtl:ignore*/
left: 0; left: 0;
z-index: @zindexPopover; z-index: @zindexPopover;
display: none; display: none;
Expand Down
7 changes: 7 additions & 0 deletions theme/bootstrapbase/readme_moodle.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -51,3 +51,10 @@ in the compiled CSS (MDL-53152):
* @gridRowWidth * @gridRowWidth
* @gridRowWidth1200 * @gridRowWidth1200
* @gridRowWidth768 * @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.
1 change: 1 addition & 0 deletions theme/bootstrapbase/style/moodle.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14968,6 +14968,7 @@ input[type="submit"].btn.btn-mini {
.popover { .popover {
position: absolute; position: absolute;
top: 0; top: 0;
/*rtl:ignore*/
left: 0; left: 0;
z-index: 1010; z-index: 1010;
display: none; display: none;
Expand Down

0 comments on commit 3b4e9a9

Please sign in to comment.