mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-40204 theme_bootstrapbase & theme_clean: Fix RTL 3 column lyt with 1 blk.
This commit is contained in:
parent
f192883305
commit
a31445a854
@ -38,6 +38,12 @@
|
||||
/** decrease the span size by 1 **/
|
||||
.fluid-span(3);
|
||||
}
|
||||
|
||||
.empty-region-side-post #region-bs-main-and-post.span9 #region-main.span8 {
|
||||
/** RTL with no post area. **/
|
||||
width:100%;
|
||||
}
|
||||
|
||||
/** Page layout CSS ends **/
|
||||
|
||||
.dir-ltr,
|
||||
|
File diff suppressed because one or more lines are too long
@ -31,6 +31,12 @@
|
||||
// Get the HTML for the settings bits.
|
||||
$html = theme_clean_get_html_for_settings($OUTPUT, $PAGE);
|
||||
|
||||
if (right_to_left()) {
|
||||
$regionbsid = 'region-bs-main-and-post';
|
||||
} else {
|
||||
$regionbsid = 'region-bs-main-and-pre';
|
||||
}
|
||||
|
||||
echo $OUTPUT->doctype() ?>
|
||||
<html <?php echo $OUTPUT->htmlattributes(); ?>>
|
||||
<head>
|
||||
@ -78,7 +84,7 @@ echo $OUTPUT->doctype() ?>
|
||||
</header>
|
||||
|
||||
<div id="page-content" class="row-fluid">
|
||||
<div id="region-bs-main-and-pre" class="span9">
|
||||
<div id="<?php echo $regionbsid ?>" class="span9">
|
||||
<div class="row-fluid">
|
||||
<section id="region-main" class="span8 pull-right">
|
||||
<?php
|
||||
|
Loading…
x
Reference in New Issue
Block a user