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.
This commit is contained in:
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

View file

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