mirror of
https://github.com/wekan/wekan.git
synced 2026-02-10 18:24:21 +01:00
Have all iPhone use mobile view by default, while still having possibility to use mobile/desktop switch button for desktop mode.
Thanks to xet7 !
This commit is contained in:
parent
59df6aad05
commit
5df4efd7ba
6 changed files with 34 additions and 15 deletions
|
|
@ -470,8 +470,10 @@ a:not(.disabled).is-active i.fa {
|
|||
MOBILE & TABLET RESPONSIVE IMPROVEMENTS
|
||||
======================================== */
|
||||
|
||||
/* Mobile devices (up to 800px) */
|
||||
@media screen and (max-width: 800px) {
|
||||
/* Mobile devices (up to 800px) and all iPhone models */
|
||||
@media screen and (max-width: 800px),
|
||||
screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape),
|
||||
screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
|
||||
#content {
|
||||
margin: 1px 0px 0px 0px;
|
||||
height: calc(100% - 0px);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue