File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,10 +84,13 @@ main {
8484 display : grid;
8585 grid-template-columns : 1fr 1fr ;
8686 gap : var (--space );
87- > * : first-child {
88- grid-column : span 2 ;
89- }
9087}
88+
89+ /* Moved outside of main {} to fix parsing error */
90+ main > * : first-child {
91+ grid-column : span 2 ;
92+ }
93+
9194/* ====== Article Layout ======
9295Setting the rules for how elements are placed in the article.
9396Now laying out just the INSIDE of the repeated card/article design.
@@ -99,11 +102,13 @@ article {
99102 text-align : justify;
100103 display : grid;
101104 grid-template-columns : var (--space ) 1fr var (--space );
102- > * {
103- grid-column : 2 / 3 ;
104- }
105- > img {
106- grid-column : span 3 ;
107-
108- }
105+ }
106+
107+ /* Moved outside of article {} to fix parsing error */
108+ article > * {
109+ grid-column : 2 / 3 ;
110+ }
111+ /* Moved outside of article {} to fix parsing error */
112+ article > img {
113+ grid-column : span 3 ;
109114}
You can’t perform that action at this time.
0 commit comments