We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 331f1af commit aab0b95Copy full SHA for aab0b95
src/blobdash/static/main.css
@@ -421,9 +421,21 @@ main {
421
422
img {
423
grid-area: icon;
424
- height: 100%;
425
- align-self: center;
426
justify-self: center;
+
+ /* This looks bad when icons aren't very square. There's a better way to do this, but
427
+ it doesn't work on Safari. Thanks, Steve.
428
+ See: https://stackoverflow.com/questions/57516373/image-stretching-in-flexbox-in-safari
429
+ https://github.com/neptunian/react-photo-gallery/issues/174
430
+ https://discourse.webflow.com/t/css-grid-stretch-in-safari-after-yesterdays-update/142799/4
431
+ */
432
+ @media (width < 400px) {
433
+ max-width: 3rem;
434
+ }
435
+ @media (width >= 400px) {
436
+ height: 100%;
437
+ align-self: center;
438
439
}
440
441
h3 {
0 commit comments