Skip to content

Commit b7132bc

Browse files
committed
fix: refine image styling and adjust padding in article and details
1 parent 6afd4b5 commit b7132bc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Wireframe/style.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ a {
2222
max-width: fit-content;
2323
text-decoration: underline;
2424
}
25-
img,
26-
svg {
25+
img.svg {
2726
width: 100%;
2827
object-fit: cover;
2928
}
@@ -57,6 +56,8 @@ main > *:first-child {
5756
article {
5857
border: var(--line);
5958
padding-bottom: var(--space);
59+
padding-left: var(--space);
60+
padding-right: var(--space);
6061
text-align: left;
6162
display: flex;
6263
flex-direction: column;
@@ -70,6 +71,7 @@ article img {
7071
details p {
7172
margin: 0;
7273
padding-top: 10px;
74+
padding-left: var(--space);
7375
}
7476

7577
summary {

0 commit comments

Comments
 (0)