ui: apply mobile layout if screen width < 800px instead of < 720px

Some mobile get large screen now, and also if using a small window on desktop better adapt the visual using mobile layout
This commit is contained in:
Sebastian Castro 2020-04-29 12:51:48 +02:00 committed by muxator
parent 01c59b3b88
commit f768e32373
15 changed files with 15 additions and 15 deletions

View file

@ -222,7 +222,7 @@ pre {
word-wrap: break-word; word-wrap: break-word;
} }
@media (max-width: 720px) { @media (max-width: 800px) {
div.innerwrapper { div.innerwrapper {
padding: 0 15px 15px 15px; padding: 0 15px 15px 15px;
} }

View file

@ -114,7 +114,7 @@ body.doesWrap:not(.noprewrap) > div {
font-size: 12px; /* overridden by lineMetricsDiv.style */ font-size: 12px; /* overridden by lineMetricsDiv.style */
font-family: monospace; /* overridden by lineMetricsDiv.style */ font-family: monospace; /* overridden by lineMetricsDiv.style */
} }
@media (max-width: 720px) { @media (max-width: 800px) {
#sidediv { #sidediv {
/* Do not use display: none to hide the sidediv, otherwise the parent container does not /* Do not use display: none to hide the sidediv, otherwise the parent container does not
get its height properly calculated by flexboxes */ get its height properly calculated by flexboxes */

View file

@ -152,7 +152,7 @@
display: none; display: none;
} }
@media only screen and (max-width: 720px) { @media only screen and (max-width: 800px) {
#chatbox { #chatbox {
right: 0; right: 0;
bottom: 0; bottom: 0;

View file

@ -40,7 +40,7 @@
background-color: #eed3d4; background-color: #eed3d4;
} }
@media (max-width: 720px) { @media (max-width: 800px) {
#gritter-container { #gritter-container {
left: 1rem; left: 1rem;
right: 1rem; right: 1rem;

View file

@ -47,7 +47,7 @@ body {
width: 0; /* hide when the container is empty */ width: 0; /* hide when the container is empty */
} }
@media only screen and (max-width: 720px) { @media only screen and (max-width: 800px) {
#editorcontainerbox { #editorcontainerbox {
margin-bottom: 39px; /* Leave space for the bottom toolbar on mobile */ margin-bottom: 39px; /* Leave space for the bottom toolbar on mobile */
} }

View file

@ -62,7 +62,7 @@
} }
/* Mobile devices */ /* Mobile devices */
@media only screen and (max-width: 720px) { @media only screen and (max-width: 800px) {
.popup { .popup {
border-radius: 0; border-radius: 0;
top: 1rem; top: 1rem;

View file

@ -98,7 +98,7 @@ input#myusernameedit:not(.editable) {
right: calc(100% + 15px); right: calc(100% + 15px);
z-index: 101; z-index: 101;
} }
@media (max-width: 720px) { @media (max-width: 800px) {
#mycolorpicker.popup { #mycolorpicker.popup {
top: auto; top: auto;
bottom: 0; bottom: 0;

View file

@ -135,7 +135,7 @@
overflow: visible; overflow: visible;
} }
@media only screen and (max-width: 720px) { @media only screen and (max-width: 800px) {
.toolbar ul li.separator { .toolbar ul li.separator {
width: 5px; width: 5px;
} }

View file

@ -131,7 +131,7 @@
height: 100%; height: 100%;
} }
@media (max-width: 720px) { @media (max-width: 800px) {
#timeslider-slider #timer { display: none; } #timeslider-slider #timer { display: none; }
.editbarright [data-key="timeslider_returnToPad"] { .editbarright [data-key="timeslider_returnToPad"] {

View file

@ -75,7 +75,7 @@
background-color: var(--bg-color); background-color: var(--bg-color);
} }
@media (max-width: 720px) { @media (max-width: 800px) {
#chaticon { #chaticon {
right: 0; right: 0;
} }

View file

@ -41,7 +41,7 @@
min-width: 180px; min-width: 180px;
} }
@media (max-width: 720px) { @media (max-width: 800px) {
.popup-content { .popup-content {
padding: 1rem; padding: 1rem;
box-shadow: 0 0 0 1px rgba(99, 114, 130, 0.16), -1px 1px 16px 3px rgba(27, 39, 51, 0.12); box-shadow: 0 0 0 1px rgba(99, 114, 130, 0.16), -1px 1px 16px 3px rgba(27, 39, 51, 0.12);

View file

@ -131,7 +131,7 @@
} }
} }
@media (max-width: 720px) { @media (max-width: 800px) {
.toolbar ul li { .toolbar ul li {
margin: 5px 2px; margin: 5px 2px;

View file

@ -71,7 +71,7 @@
#outerdocbody.plugin-ep_author_neat #sidediv { padding-right: 0 !important; } #outerdocbody.plugin-ep_author_neat #sidediv { padding-right: 0 !important; }
} }
@media only screen and (max-width: 720px) { @media only screen and (max-width: 800px) {
#editorcontainerbox { #editorcontainerbox {
margin-bottom: 39px; /* margin for bottom toolbar */ margin-bottom: 39px; /* margin for bottom toolbar */
} }

View file

@ -82,7 +82,7 @@
font-size: .9em; font-size: .9em;
} }
@media (max-width: 720px) { @media (max-width: 800px) {
#slider-btn-container { #slider-btn-container {
margin-top: 0; margin-top: 0;

View file

@ -138,7 +138,7 @@
width: 45px; width: 45px;
height: 38px; height: 38px;
} }
@media only screen and (min-device-width: 320px) and (max-device-width: 720px) { @media only screen and (min-device-width: 320px) and (max-device-width: 800px) {
body { body {
background: #bbb; background: #bbb;
background: -webkit-linear-gradient(#aaa,#eee 60%) center fixed; background: -webkit-linear-gradient(#aaa,#eee 60%) center fixed;