[Glitch] Fix unfollow button being out of frame on small screens on old browsers

Port 4117c8f6b8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2699/head
Claire 2024-04-15 13:56:48 +02:00
parent 946bd2e7e1
commit 62b3f284db
1 changed files with 7 additions and 2 deletions

View File

@ -8445,8 +8445,13 @@ noscript {
}
}
@container account-header (max-width: 372px) {
.optional {
.optional {
@container account-header (max-width: 372px) {
display: none;
}
// Fallback for older browsers with no container queries support
@media screen and (max-width: 372px + 55px) {
display: none;
}
}