Skip to content

Commit 4c3432e

Browse files
committed
Fixes detect device css for iOS
1 parent 59b5141 commit 4c3432e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Source/Windows/webapp/main.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,29 +93,29 @@
9393
#settings #controls #item .title{margin-top:-1px;}
9494

9595
/* iPhone X , XS, 11 Pro */
96-
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation: portrait){
96+
@media only screen and (device-width: 375px) and (device-height: 812px) and (orientation: portrait){
9797
#btn{padding:0 10px 0 10px;}
9898
#list #items #note #title{margin-left:18px;}
9999
#list #items #note #date{margin-right:20px;}
100100
#notification{padding:15px 0 25px 0;}
101101
}
102102

103-
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation: landscape){
103+
@media only screen and (device-width: 375px) and (device-height: 812px) and (orientation: landscape){
104104
#btn{padding:0 20px 0 20px;}
105105
#list #items #note #title{margin-left:46px;}
106106
#list #items #note #date{margin-right:48px;}
107107
#editor #memo{display:block; width:calc(100% - 76px);}
108108
}
109109

110110
/* iPhone XR, 11, iPhone XS Max, 11 Pro Max */
111-
@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation: portrait){
111+
@media only screen and (device-width: 414px) and (device-height: 896px) and (orientation: portrait){
112112
#btn{padding:0 10px 0 10px;}
113113
#list #items #note #title{margin-left:18px;}
114114
#list #items #note #date{margin-right:20px;}
115115
#notification{padding:15px 0 25px 0;}
116116
}
117117

118-
@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation: landscape){
118+
@media only screen and (device-width: 414px) and (device-height: 896px) and (orientation: landscape){
119119
#btn{padding:0 20px 0 20px;}
120120
#list #items #note #title{margin-left:46px;}
121121
#list #items #note #date{margin-right:48px;}
@@ -951,7 +951,7 @@
951951

952952
<div id="AboutThemeTime" class="titlebox"></div>
953953

954-
<div class="titlebox" style="text-align:center;"><br>EasyNotes<br><span id="LastUpdate"></span> 17.11.20<br>https://r57zone.github.io</div>
954+
<div class="titlebox" style="text-align:center;"><br>EasyNotes<br><span id="LastUpdate"></span> 18.11.20<br>https://r57zone.github.io</div>
955955
<br><br>
956956
</div>
957957
</div>

0 commit comments

Comments
 (0)