Skip to content

Commit e213cb4

Browse files
committed
CSS:
-removed clamp property from p, ul + article selectors
1 parent 6f57b99 commit e213cb4

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
@@ -50,7 +50,6 @@ h1, h2 {
5050
p, ul{
5151
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
5252
width: clamp(45ch, 50%, 75ch);
53-
margin: 20px;
5453

5554
}
5655

@@ -91,14 +90,17 @@ Keeping things orderly and separate is the key to good, simple CSS.
9190
article {
9291
border: var(--line);
9392
padding-bottom: var(--space);
93+
align-content: center;
9494
text-align: justify;
95-
width: clamp(45ch, 50%, 75ch);
95+
9696
display: grid;
9797
grid-template-columns: var(--space) 1fr var(--space);
9898
> * {
9999
grid-column: 2/3;
100100
}
101101
> img {
102+
max-width: 500px;
103+
max-height: 500px;
102104
grid-column: span 3;
103105
}
104106
}

0 commit comments

Comments
 (0)