diff options
author | PortableProgrammer <[email protected]> | 2025-01-08 19:12:49 +0000 |
---|---|---|
committer | PortableProgrammer <[email protected]> | 2025-01-08 19:12:49 +0000 |
commit | 73465b81a69b0fcdfd038fb21e742d827166a1b5 (patch) | |
tree | 20c3db4fa6a9c79f2e6b6ac9d2604a4603ecd873 | |
parent | 2c4522bef5c2f7b223b69d910a428c9c0eabb3d5 (diff) |
Tweak gallery img size in `card` view.
Ensure `spoiler`/`nsfw` div is above everything else
-rw-r--r-- | src/public/styles.css | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/public/styles.css b/src/public/styles.css index b1d1318..170c4b7 100644 --- a/src/public/styles.css +++ b/src/public/styles.css | |||
@@ -206,7 +206,7 @@ nav { | |||
206 | 206 | ||
207 | .gallery-item.card > a > img { | 207 | .gallery-item.card > a > img { |
208 | max-width: 95vw; | 208 | max-width: 95vw; |
209 | max-height: 95vh; | 209 | max-height: 30vh; |
210 | width: auto; | 210 | width: auto; |
211 | height: auto; | 211 | height: auto; |
212 | } | 212 | } |
@@ -231,6 +231,8 @@ nav { | |||
231 | align-items: center; | 231 | align-items: center; |
232 | 232 | ||
233 | cursor: pointer; | 233 | cursor: pointer; |
234 | |||
235 | z-index: 10; | ||
234 | } | 236 | } |
235 | 237 | ||
236 | .gallery-item-idx.card, | 238 | .gallery-item-idx.card, |