diff --git a/assets/stylesheets/template/layout/content.scss b/assets/stylesheets/template/layout/content.scss index a51cc77..066efd4 100644 --- a/assets/stylesheets/template/layout/content.scss +++ b/assets/stylesheets/template/layout/content.scss @@ -271,11 +271,15 @@ body{ flex: none; display: none; } -.box:hover img { +.box img { width: 100%; height: 100%; object-fit: cover; } +.box .w-ba-banner__slide, .box .w-ba-banner__slide a { + height: 100%; + display: block; +} .box{ flex: 3; color: #666666; @@ -297,8 +301,8 @@ body{ } } @media(max-width: $screen-xs){ + flex: none; width: 100%; - flex-wrap: wrap; height: 250px; padding-bottom: 0.5em; }