File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed
src/components/RelatedBlogs Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change 1+ @use ' ../../css/breakpoints' as breakpoints ;
2+
13/* Container for the entire component */
24.relatedBlogsContainer {
35 display : flex ;
46 flex-direction : column ;
57 padding-top : 32px ;
68}
79
8- /* Container for just the cards (excluding header) */
910.blogCardsContainer {
10- display : grid ;
11- grid-template-columns : repeat (3 , minmax (0 , 1fr ));
12- gap : 0.5em ;
13- width : 100% ;
14- height : 100%
11+ display : flex ;
12+ flex-direction : column ;
13+ gap : 1em ;
14+ width : 100% ;
1515}
1616
1717/* Container for individual card */
6868
6969/* Container for the bottom half of the card */
7070[data-theme = ' light' ] .cardBottom {
71- background-color : #c0c0c0 ;
71+ background-color : #f7f7fa ;
7272 border-left : 1px solid #c7c7c7 ;
7373 border-right : 1px solid #c7c7c7 ;
7474 border-bottom : 1px solid #c7c7c7 ;
75+ border-top : 1px solid #c7c7c7 ;
7576}
7677
7778/* Container for the bottom half of the card */
186187 100% {
187188 opacity : 0.6 ;
188189 }
190+ }
191+
192+ @media (min-width : breakpoints .$laptop-breakpoint ) {
193+
194+ /* Container for just the cards (excluding header) */
195+ .blogCardsContainer {
196+ display : grid ;
197+ grid-template-columns : repeat (3 , minmax (0 , 1fr ));
198+ gap : 0.5em ;
199+ width : 100% ;
200+ height : 100%
201+ }
202+
189203}
You can’t perform that action at this time.
0 commit comments