mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
skins:colibris fixes #3514 hide sidediv and "show line number" option on mobile
This commit is contained in:
parent
2ce195747b
commit
fc629e49d9
1 changed files with 7 additions and 2 deletions
|
@ -28,6 +28,11 @@
|
||||||
#outerdocbody.ep_author_neat {
|
#outerdocbody.ep_author_neat {
|
||||||
padding-left: 120px; /* more space for sidediv */
|
padding-left: 120px; /* more space for sidediv */
|
||||||
}
|
}
|
||||||
|
@media (max-width:600px) {
|
||||||
|
#outerdocbody.ep_author_neat { padding-left: 0; }
|
||||||
|
#options-linenoscheck { display:none; }
|
||||||
|
#options-linenoscheck ~ label { display:none; }
|
||||||
|
}
|
||||||
|
|
||||||
#outerdocbody.sidediv-hidden {
|
#outerdocbody.sidediv-hidden {
|
||||||
padding-left: 0; /* sidediv hidden */
|
padding-left: 0; /* sidediv hidden */
|
||||||
|
@ -120,8 +125,8 @@
|
||||||
padding: 15px !important;
|
padding: 15px !important;
|
||||||
width: calc(100% - 30px) !important; /* 100% - padding */
|
width: calc(100% - 30px) !important; /* 100% - padding */
|
||||||
}
|
}
|
||||||
#sidediv:not(.sidedivhidden) {
|
#sidediv {
|
||||||
display: block;
|
display: none;
|
||||||
top: 15px !important; /* = #outerdocbody iframe padding-top */
|
top: 15px !important; /* = #outerdocbody iframe padding-top */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue