[www] show private photos when logged in

This commit is contained in:
Devin Zuczek
2026-09-23 12:23:14 -04:00
parent 907b6efe15
commit ca9f4197c6
5 changed files with 181 additions and 38 deletions
+12
View File
@@ -1863,6 +1863,7 @@ button[type='submit']:disabled {
/* The thumbnail's click target: a real button, for the keyboard, with none of its looks. */
.photo-button {
display: block;
position: relative;
padding: 0;
border: 0;
border-radius: 9px;
@@ -1870,6 +1871,17 @@ button[type='submit']:disabled {
cursor: zoom-in;
}
/* The Private mark on one of the owner's own photos, pinned to the thumbnail's corner.
Same pill as a room's visibility badge, on a solid background so it reads over the
picture. */
.photo-private {
position: absolute;
top: 6px;
left: 6px;
background: var(--surface);
pointer-events: none;
}
.photo-thumb {
display: block;
width: 100%;