Fix the unlabeled Edit button, iOS zoom, and pinned photo on short screens
This commit is contained in:
1 parent
7eb69d70e0
commit
6de9f04b3f
1 file changed
+6
-2
@@ -334,6 +334,11 @@
|
||||
.photo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
|
||||
.photo-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s1) var(--s1) var(--s1) var(--s3); border-bottom: 1px solid var(--border); min-height: 48px; }
|
||||
.photo { max-height: 36dvh; overflow: auto; background: var(--surface-2); }
|
||||
/* Short screens (phone landscape) and open edit forms need the room more than the pinned photo does. */
|
||||
@media (max-width: 959px) {
|
||||
.layout:has(:global(.editor)) .photo-col { position: static; }
|
||||
}
|
||||
@media (max-width: 959px) and (max-height: 500px) { .photo-col { position: static; } }
|
||||
.frame { position: relative; }
|
||||
.frame img { display: block; width: 100%; height: auto; }
|
||||
.zoom .frame { width: 250%; }
|
||||
@@ -343,7 +348,7 @@
|
||||
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
|
||||
.bulk { display: flex; flex-direction: column; gap: var(--s3); border-color: var(--primary); }
|
||||
.kind-set { display: inline-flex; gap: var(--s2); }
|
||||
.kind-set select { width: auto; min-height: 44px; padding: 0 var(--s2); font-size: var(--fs-sm); }
|
||||
.kind-set select { width: auto; min-height: 44px; padding: 0 var(--s2); } /* 16px: smaller makes iOS zoom in */
|
||||
.new-event { display: flex; flex-direction: column; gap: var(--s2); }
|
||||
|
||||
.section-title.warn { color: var(--warn); }
|
||||
@@ -385,5 +390,4 @@
|
||||
background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-3);
|
||||
}
|
||||
@media (min-width: 1024px) { .publish-bar { bottom: var(--s4); } }
|
||||
@media (max-width: 420px) { .hide-sm { display: none; } }
|
||||
</style>
|
||||
Reference in new issue
Block a user