From: rabuzarus Date: Wed, 31 Oct 2018 09:07:51 +0000 (+0100) Subject: Frio - add desktop or mobile view class to the html body X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec9f22de9275190dcf50798067a896470677c44a;p=friendica.git Frio - add desktop or mobile view class to the html body --- diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index aa86c97238..148f60c23a 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -18,6 +18,8 @@ require_once 'view/theme/frio/php/frio_boot.php'; if (!isset($minimal)) { $minimal = false; } + +$view_mode_class = ($a->is_mobile || $a->is_tablet) ? 'mobile-view' : 'desktop-view'; ?> @@ -63,7 +65,7 @@ if (!isset($minimal)) { ?> - "> + "> Skip to main content