]> git.mxchange.org Git - friendica.git/commitdiff
The mobile.css seems to only work for mobiles at the moment.
authorMichael Vogel <icarus@dabo.de>
Tue, 17 Nov 2015 19:39:30 +0000 (20:39 +0100)
committerMichael Vogel <icarus@dabo.de>
Tue, 17 Nov 2015 19:39:30 +0000 (20:39 +0100)
view/theme/vier/theme.php

index a7f8ea99a303cb6651ba647dcc2f5405342042ae..3c808b52af0ec8b97203370296b3cf76df26cf0b 100644 (file)
@@ -33,7 +33,8 @@ function vier_init(&$a) {
                $a->page['htmlhead'] .= '<meta name=viewport content="width=device-width, initial-scale=1">'."\n";
                $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="view/theme/vier/mobile.css" media="screen"/>'."\n";
        }
-               $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="view/theme/vier/mobile.css" media="screen and (max-width: 1000px)"/>'."\n";
+               // deactivated since it doesn't work with desktop browsers at the moment (To-Do)
+               //$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="view/theme/vier/mobile.css" media="screen and (max-width: 1000px)"/>'."\n";
 
 $a->page['htmlhead'] .= <<< EOT
 <link rel='stylesheet' type='text/css' href='view/theme/vier/narrow.css' media='screen and (max-width: 1100px)' />