Skip to content

Commit 1746f17

Browse files
committed
style: Tweak article image styles for better layout and responsiveness
1 parent d67d190 commit 1746f17

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Wireframe/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ body {
3030
background: var(--paper);
3131
color: var(--ink);
3232
font: var(--font);
33+
3334
}
3435
a {
3536
padding: var(--space);
@@ -85,5 +86,11 @@ article {
8586
}
8687
> img {
8788
grid-column: span 3;
89+
max-height: 250px;
90+
object-fit: contain;
91+
border-bottom: var(--line);
92+
padding-bottom: var(--space);
93+
background-color: transparent;
94+
display: block;
8895
}
8996
}

0 commit comments

Comments
 (0)