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:
parent
55d4cc0d86
commit
c6b9ea6823
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ header > *
|
|||
|
||||
.photograph
|
||||
{
|
||||
padding: 16px;
|
||||
padding: 2vh;
|
||||
background-color: var(--color_bodybg);
|
||||
}
|
||||
article .photograph:first-of-type
|
||||
|
|
Loading…
Reference in a new issue