mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
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:
parent
01c59b3b88
commit
f768e32373
15 changed files with 15 additions and 15 deletions
|
@ -222,7 +222,7 @@ pre {
|
|||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@media (max-width: 800px) {
|
||||
div.innerwrapper {
|
||||
padding: 0 15px 15px 15px;
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@ body.doesWrap:not(.noprewrap) > div {
|
|||
font-size: 12px; /* overridden by lineMetricsDiv.style */
|
||||
font-family: monospace; /* overridden by lineMetricsDiv.style */
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
@media (max-width: 800px) {
|
||||
#sidediv {
|
||||
/* Do not use display: none to hide the sidediv, otherwise the parent container does not
|
||||
get its height properly calculated by flexboxes */
|
||||
|
|
|
@ -152,7 +152,7 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 720px) {
|
||||
@media only screen and (max-width: 800px) {
|
||||
#chatbox {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
background-color: #eed3d4;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@media (max-width: 800px) {
|
||||
#gritter-container {
|
||||
left: 1rem;
|
||||
right: 1rem;
|
||||
|
|
|
@ -47,7 +47,7 @@ body {
|
|||
width: 0; /* hide when the container is empty */
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 720px) {
|
||||
@media only screen and (max-width: 800px) {
|
||||
#editorcontainerbox {
|
||||
margin-bottom: 39px; /* Leave space for the bottom toolbar on mobile */
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
}
|
||||
|
||||
/* Mobile devices */
|
||||
@media only screen and (max-width: 720px) {
|
||||
@media only screen and (max-width: 800px) {
|
||||
.popup {
|
||||
border-radius: 0;
|
||||
top: 1rem;
|
||||
|
|
|
@ -98,7 +98,7 @@ input#myusernameedit:not(.editable) {
|
|||
right: calc(100% + 15px);
|
||||
z-index: 101;
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
@media (max-width: 800px) {
|
||||
#mycolorpicker.popup {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
|
|
|
@ -135,7 +135,7 @@
|
|||
overflow: visible;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 720px) {
|
||||
@media only screen and (max-width: 800px) {
|
||||
.toolbar ul li.separator {
|
||||
width: 5px;
|
||||
}
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
height: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@media (max-width: 800px) {
|
||||
#timeslider-slider #timer { display: none; }
|
||||
|
||||
.editbarright [data-key="timeslider_returnToPad"] {
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
background-color: var(--bg-color);
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@media (max-width: 800px) {
|
||||
#chaticon {
|
||||
right: 0;
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
min-width: 180px;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@media (max-width: 800px) {
|
||||
.popup-content {
|
||||
padding: 1rem;
|
||||
box-shadow: 0 0 0 1px rgba(99, 114, 130, 0.16), -1px 1px 16px 3px rgba(27, 39, 51, 0.12);
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@media (max-width: 800px) {
|
||||
|
||||
.toolbar ul li {
|
||||
margin: 5px 2px;
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
#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 {
|
||||
margin-bottom: 39px; /* margin for bottom toolbar */
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
font-size: .9em;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@media (max-width: 800px) {
|
||||
|
||||
#slider-btn-container {
|
||||
margin-top: 0;
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
width: 45px;
|
||||
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 {
|
||||
background: #bbb;
|
||||
background: -webkit-linear-gradient(#aaa,#eee 60%) center fixed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue