mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
01_FHEMWEB: shrink-to-fit only on iOS, increase smallscreen col2 width. (Forum #41467)
git-svn-id: https://svn.fhem.de/fhem/trunk@9317 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a87ef1fe97
commit
98837e9955
@ -710,8 +710,9 @@ FW_answerCall($)
|
||||
if($FW_tp || $FW_ss) {
|
||||
my $icon = $FW_ME."/images/default/fhemicon_ios.png";
|
||||
if($FW_ss) {
|
||||
FW_pO '<meta name="viewport" '.
|
||||
'content="initial-scale=1.0,user-scalable=1,shrink-to-fit=no"/>';
|
||||
my $stf = $FW_userAgent =~ m/iPad|iPhone|iPod/ ? ",shrink-to-fit=no" :"";
|
||||
FW_pO "<meta name='viewport' ".
|
||||
"content='initial-scale=1.0,user-scalable=1$stf'/>";
|
||||
} elsif($FW_tp) {
|
||||
FW_pO '<meta name="viewport" content="width=768"/>';
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ textarea { font-family:Arial, sans-serif; font-size:16px;}
|
||||
.devType { font-size:12px;}
|
||||
|
||||
div.col1 { width: 188px; height: 30px; white-space: nowrap; }
|
||||
div.col2 { width: 108px; height: 30px;
|
||||
div.col2 { width: 142px; height: 30px;
|
||||
-webkit-box-pack: center; -moz-box-pack: center; box-pack: center;
|
||||
white-space: wrap;
|
||||
font-size:16px;
|
||||
|
Loading…
Reference in New Issue
Block a user