Use vh instead of px for photo padding.

Helps ensure a consistent amount of space between photo and edges
of screen since 92vh photo + 16px padding was too big for some aspect
ratios. Now it's 92vh + 4vh which doesn't exceed the screen.
master
voussoir 2022-07-19 06:22:54 -07:00
parent 55d4cc0d86
commit c6b9ea6823
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ header > *
.photograph .photograph
{ {
padding: 16px; padding: 2vh;
background-color: var(--color_bodybg); background-color: var(--color_bodybg);
} }
article .photograph:first-of-type article .photograph:first-of-type