summaryrefslogtreecommitdiff
path: root/static/input.css
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <montferrat@tuta.io> 2025-10-17 04:17:06 +0700
committerGravatar SayaAndy <montferrat@tuta.io> 2025-10-17 04:17:06 +0700
commitc9a2858279d3d3bf48d752d5ad250303368f9ebd (patch)
tree9756d29796f30156a071920fef3f9cb15dffa1a6 /static/input.css
parentb3a60ae640c3a69f1b2767877c6b4975d62e539c (diff)
downloadweb-c9a2858279d3d3bf48d752d5ad250303368f9ebd.tar.gz
web-c9a2858279d3d3bf48d752d5ad250303368f9ebd.zip
feat: add support for tags in gallery images
feat: add 2x tag for an image in gallery feat: update layout of galleries while loading images (not just after)
Diffstat (limited to 'static/input.css')
-rw-r--r--static/input.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/static/input.css b/static/input.css
index d766049..8080d13 100644
--- a/static/input.css
+++ b/static/input.css
@@ -331,22 +331,38 @@ a:hover {
width: 50%;
}
+.grid-item-2x {
+ width: 100%;
+}
+
@media (width >= 32rem) {
.grid-item, .grid-sizer {
width: 33%;
}
+
+ .grid-item-2x {
+ width: 66%;
+ }
}
@media (width >= 40rem) {
.grid-item, .grid-sizer {
width: 25%;
}
+
+ .grid-item-2x {
+ width: 50%;
+ }
}
@media (width >= 48rem) {
.grid-item, .grid-sizer {
width: 20%;
}
+
+ .grid-item-2x {
+ width: 40%;
+ }
}
.map-container .leaflet-container {