mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add enlarge image effect to mobile views
This commit is contained in:
+9
-4
@@ -56,10 +56,15 @@ const GlobalStyle = createGlobalStyle`
|
||||
}
|
||||
|
||||
.enlarged {
|
||||
max-width: none !important;
|
||||
max-height: none !important;
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
@media (min-width: 480px) {
|
||||
max-width: none !important;
|
||||
max-height: none !important;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
max-width: 100% !important;
|
||||
max-height: 100% !important;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user