diff options
author | Mario Vavti <mario@mariovavti.com> | 2021-12-03 15:10:59 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2021-12-03 15:10:59 +0100 |
commit | fd433b3eb6d18e64b9a0ff4d3f09d762dafe7078 (patch) | |
tree | 35aa318006a441c5be529e71158505dd5e0bf238 /view/theme | |
parent | 45fd462f804f7f293ebfb2be706522f511b34818 (diff) | |
download | volse-hubzilla-fd433b3eb6d18e64b9a0ff4d3f09d762dafe7078.tar.gz volse-hubzilla-fd433b3eb6d18e64b9a0ff4d3f09d762dafe7078.tar.bz2 volse-hubzilla-fd433b3eb6d18e64b9a0ff4d3f09d762dafe7078.zip |
main_width in rem
Diffstat (limited to 'view/theme')
-rw-r--r-- | view/theme/redbasic/css/style.css | 2 | ||||
-rw-r--r-- | view/theme/redbasic/php/style.php | 4 | ||||
-rw-r--r-- | view/theme/redbasic/schema/dark.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 16a7624f8..ac5b6a80a 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -43,7 +43,7 @@ aside#right_aside_wrapper { main { margin-left: auto; margin-right: auto; - max-width: $main_widthpx; + max-width: $main_widthrem; } #overlay { diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index a405abea0..9b8ac455a 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -101,7 +101,7 @@ if (! $radius) if (! $shadow) $shadow = '0'; if (! $converse_width) - $converse_width = '1270'; //unit: rem + $converse_width = '52'; //unit: rem if(! $top_photo) $top_photo = '2.3rem'; if(! $reply_photo) @@ -126,7 +126,7 @@ if(file_exists('view/theme/redbasic/css/style.css')) { $main_width = $left_aside_width + $right_aside_width + intval($converse_width); // prevent main_width smaller than 768px - $main_width = (($main_width < 768) ? 768 : $main_width); + $main_width = (($main_width < 30) ? 30 : $main_width); $options = array ( '$nav_bg' => $nav_bg, diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php index 9bab32a2a..18e92ac93 100644 --- a/view/theme/redbasic/schema/dark.php +++ b/view/theme/redbasic/schema/dark.php @@ -35,7 +35,7 @@ if (! $font_colour) $font_colour = "#ccc"; if (! $converse_width) - $converse_width = '1270'; //unit: rem; + $converse_width = '52'; //unit: rem; |