diff --git a/resources/assets/stylesheets/scss/contents.scss b/resources/assets/stylesheets/scss/contents.scss index 92ca06bd991152bd01c96b02d2feb17fc2c805cc..5e8b8aa28e2f7a7543b7bdb6f6a21a2226a477dd 100644 --- a/resources/assets/stylesheets/scss/contents.scss +++ b/resources/assets/stylesheets/scss/contents.scss @@ -1,5 +1,6 @@ .contents-widget { margin: 10px; + .content-items { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); grid-gap: 5px; @@ -73,18 +74,21 @@ } } - &:hover { - background-color: $white; - color: unset; + } + + &:hover { + background-color: $white; + color: unset; + .content-item-link { .content-item-text { .content-item-title { color: $red; } } - } } + } }