Skip to content

Commit bfbe904

Browse files
Center article section in grid layout
1 parent d91b2ab commit bfbe904

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Wireframe/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,13 @@ article {
9797
>img {
9898
grid-column: span 3;
9999
width: 100%;
100-
height: 250px;
101100
object-fit: cover;
102101
}
103102
}
104103

105104
section {
105+
106+
grid-column: span 2;
106107
display: grid;
107108
grid-template-columns: 1fr 1fr;
108109
gap: 10px;

0 commit comments

Comments
 (0)