We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents be9e617 + 2ebc428 commit 7b6752dCopy full SHA for 7b6752d
app/styles/home.scss
@@ -121,18 +121,21 @@
121
}
122
li a:hover { background-color: darken($main-bg-dark, 5%); }
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
131
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;
+#home-crates {
+ @include flex-wrap(wrap);
+ @include justify-content(center);
+
+ > div {
+ margin: 0;
+ padding: 0 15px;
+ width: 33.33%;
+ @media only screen and (max-width: 750px) {
+ width: 50%;
+ }
+ @media only screen and (max-width: 550px) {
138
+ width: 100%;
139
140
141
0 commit comments