diff options
author | Mario <mario@mariovavti.com> | 2023-05-06 20:28:29 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-05-06 20:28:29 +0000 |
commit | f3f861234db069868d38bb231817966507da5274 (patch) | |
tree | ac788b58b5c698587d2271288438bfd2f13d31a4 | |
parent | 93278c00b745a67fda03395f73c79cb2ddeb12d7 (diff) | |
download | volse-hubzilla-f3f861234db069868d38bb231817966507da5274.tar.gz volse-hubzilla-f3f861234db069868d38bb231817966507da5274.tar.bz2 volse-hubzilla-f3f861234db069868d38bb231817966507da5274.zip |
minor css fix
-rw-r--r-- | Zotlabs/Module/Photo.php | 3 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 4 | ||||
-rw-r--r-- | view/theme/redbasic/php/style.php | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php index 10d2e8f47..fa87d96e5 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -271,7 +271,6 @@ class Photo extends \Zotlabs\Web\Controller { $modified = time(); header_remove('Pragma'); - if((isset($_SERVER['HTTP_IF_NONE_MATCH']) && $_SERVER['HTTP_IF_NONE_MATCH'] === $etag) || (!isset($_SERVER['HTTP_IF_NONE_MATCH']) && isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && $_SERVER['HTTP_IF_MODIFIED_SINCE'] === gmdate("D, d M Y H:i:s", $modified) . " GMT")) { header_remove('Expires'); header_remove('Cache-Control'); @@ -307,6 +306,8 @@ class Photo extends \Zotlabs\Web\Controller { // This has performance considerations but we highly recommend you // leave it alone. + + $maxage = $cache_mode['age']; if($cache_mode['exp'] || (! isset($expires)) || (isset($expires) && $expires - 60 < time())) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 18973e30c..241b370dc 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -527,8 +527,8 @@ footer { } .contact-block-img { - width: 2.95rem; - height: 2.95rem; + width: 2.96rem; + height: 2.96rem; margin-bottom: 3px; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index d29de1b15..4d5bd42be 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -129,8 +129,8 @@ if(file_exists('view/theme/redbasic/css/style.css')) { $x .= $schemecss; } - $left_aside_width = 22; //unit: rem - $right_aside_width = 22; //unit: rem + $left_aside_width = 21; //unit: rem + $right_aside_width = 21; //unit: rem $main_width = $left_aside_width + $right_aside_width + intval($converse_width); |