From dd87b4deb757e38b2b0d7e98013f5d8ad9690f14 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Fri, 15 Oct 2021 04:59:24 +0000 Subject: [PATCH] fix error --- assets/stylesheets/template/layout/content.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; }