File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -69,12 +69,12 @@ aside {
6969 @include border-radius (5px );
7070
7171 .video-grid {
72- padding : 1rem 0 ;
72+ padding : 1rem ;
7373
7474 .video-thumbnails {
7575 display : grid ;
76- grid-template-columns : repeat (auto-fit , minmax (300px , 1fr ));
77- gap : 2 rem ;
76+ grid-template-columns : repeat (auto-fit , minmax (min ( 100 % , 300px ) , 1fr ));
77+ gap : 1 rem ;
7878 list-style : none ;
7979 padding : 0 ;
8080 margin : 0 ;
@@ -87,6 +87,10 @@ aside {
8787 color : inherit ;
8888 height : 100% ;
8989 transition : transform 0.2s ease ;
90+ background : #fff ;
91+ border-radius : 8px ;
92+ overflow : hidden ;
93+ box-shadow : 0 2px 4px rgba (0 ,0 ,0 ,0.1 );
9094
9195 & :hover {
9296 transform : translateY (-3px );
@@ -95,6 +99,7 @@ aside {
9599 img {
96100 width : 100% ;
97101 height : auto ;
102+ aspect-ratio : 16 / 9 ;
98103 object-fit : cover ;
99104 }
100105
You can’t perform that action at this time.
0 commit comments