diff --git a/scripts/style.css b/scripts/style.css index df51a214..909b9f56 100644 --- a/scripts/style.css +++ b/scripts/style.css @@ -968,13 +968,16 @@ body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after { table td:first-child { white-space: initial; } - .home-card { - grid-template-columns: repeat(4,minmax(0,1fr)); - } .wrap-header.h3wrap > .wrap-body { overflow: initial; } .tooltip:hover .tooltiptext { display: inline-block; } -} \ No newline at end of file +} + +@media (min-width: 768px) { + .home-card { + grid-template-columns: repeat(4,minmax(0,1fr)); + } +}