Theme: Maximize body width and shrink padding in xs view.

This commit is contained in:
reliberate 2016-03-28 23:39:42 -06:00
parent ca591d2b5a
commit 2ed66f2c5d
1 changed files with 17 additions and 1 deletions

View File

@ -565,6 +565,22 @@
text-align: left;
}
/* default body padding */
.container-fluid {
width: 90%;
}
/* maximize viewport usage on xs displays */
@media(min-width: 0px) and (max-width: 767px) {
.container-fluid {
width: 100%;
}
#main_content {
padding: 8px;
}
}
/* GENERAL ELEMENTS *****************************************************************/
img {
@ -1677,7 +1693,7 @@
$menu_style = ($_SESSION['theme']['menu_style']['text'] != '') ? $_SESSION['theme']['menu_style']['text'] : 'fixed';
$menu_position = ($_SESSION['theme']['menu_position']['text']) ? $_SESSION['theme']['menu_position']['text'] : 'top';
$open_container = "<div class='container-fluid' style='width: 90%; padding: 0;' align='center'>";
$open_container = "<div class='container-fluid' style='padding: 0;' align='center'>";
switch ($menu_style) {
case 'inline':