1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

Hide unnecessary elements below 400px page width

This commit is contained in:
Lukas Schulte Pelkum 2022-01-30 15:28:09 +01:00
parent 75fa0621e4
commit 6337c515bb
No known key found for this signature in database
GPG Key ID: 408DA7CA81DB885C
3 changed files with 13 additions and 1 deletions

View File

@ -368,6 +368,12 @@ html.embedded #footer, body.embedded #footer {
} }
} }
@media only screen and (max-width: 400px) {
#btn_copy, #lifetime_container, #content_length_container {
display: none;
}
}
@media only screen and (max-width: 500px) { @media only screen and (max-width: 500px) {
#footer #flex { #footer #flex {
margin: 0; margin: 0;

File diff suppressed because one or more lines are too long

View File

@ -313,6 +313,12 @@ html, body {
} }
} }
@media only screen and (max-width: 400px) {
#btn_copy, #lifetime_container, #content_length_container {
display: none;
}
}
@media only screen and (max-width: 500px) { @media only screen and (max-width: 500px) {
#footer { #footer {
& #flex { & #flex {