aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-12-03 15:10:59 +0100
committerMario Vavti <mario@mariovavti.com>2021-12-03 15:10:59 +0100
commitfd433b3eb6d18e64b9a0ff4d3f09d762dafe7078 (patch)
tree35aa318006a441c5be529e71158505dd5e0bf238 /view
parent45fd462f804f7f293ebfb2be706522f511b34818 (diff)
downloadvolse-hubzilla-fd433b3eb6d18e64b9a0ff4d3f09d762dafe7078.tar.gz
volse-hubzilla-fd433b3eb6d18e64b9a0ff4d3f09d762dafe7078.tar.bz2
volse-hubzilla-fd433b3eb6d18e64b9a0ff4d3f09d762dafe7078.zip
main_width in rem
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css2
-rw-r--r--view/theme/redbasic/php/style.php4
-rw-r--r--view/theme/redbasic/schema/dark.php2
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;