Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
Fix: Tablet layout issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Mar 14, 2019
1 parent 0d4034a commit 7d51b62
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
New in 3.6.0.5
==============
- FIX: Coursecat depreciation message when 'enablecategoryicon' is true.
- FIX: Tablet layout issue.

New in 3.6.0.4
==============
Expand Down
12 changes: 10 additions & 2 deletions layout/columns3.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@
<?php require_once(\theme_essential\toolbox::get_tile_file('pagetopheader')); ?>
<!-- Start Main Regions -->
<div id="page-content" class="row-fluid">
<div id="<?php echo $regionbsid ?>" class="span9">
<?php
echo '<div id="'.$regionbsid.'" class="span9';
if (($tablet) && ($hasboringlayout)) {
echo ' pull-right';
}
echo '">';
if ($coursetitleposition == 'above') {
echo $OUTPUT->course_title(false);
}
Expand Down Expand Up @@ -81,7 +85,11 @@
</div>
<?php
if ($tablet) {
?> <div class="span3 desktop-first-column"><div class="row-fluid"> <?php
echo '<div class="span3';
if ($hasboringlayout) {
echo ' desktop-first-column';
}
echo '"><div class="row-fluid">';
echo $OUTPUT->essential_blocks('side-pre', '');
echo $OUTPUT->essential_blocks('side-post', '');
?> </div></div> <?php
Expand Down

0 comments on commit 7d51b62

Please sign in to comment.