File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change 121
121
}
122
122
li a :hover { background-color : darken ($main-bg-dark , 5% ); }
123
123
124
- @media only screen and (max-width : 750px ) {
125
- #just-updated { display : none ; }
126
- }
127
- @media only screen and (max-width : 550px ) {
128
- #new-crates { display : none ; }
129
- }
130
124
}
131
125
132
- #home-crates > div {
133
- @include flex (1 );
134
-
135
- // flexbox trick to help truncate text and prevent overflow
136
- // https://css-tricks.com/flexbox-truncated-text/
137
- min-width : 0 ;
126
+ #home-crates {
127
+ @include flex-wrap (wrap );
128
+ @include justify-content (center );
129
+
130
+ > div {
131
+ margin : 0 ;
132
+ padding : 0 15px ;
133
+ width : 33.33% ;
134
+ @media only screen and (max-width : 750px ) {
135
+ width : 50% ;
136
+ }
137
+ @media only screen and (max-width : 550px ) {
138
+ width : 100% ;
139
+ }
140
+ }
138
141
}
You can’t perform that action at this time.
0 commit comments