From 33801968ff71a6a58f80323ee3be5caa13163316 Mon Sep 17 00:00:00 2001 From: "BOYA,CHIU" Date: Thu, 12 Aug 2021 14:18:30 +0800 Subject: [PATCH] fix style --- app/assets/stylesheets/web_resources_front.css.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/web_resources_front.css.scss b/app/assets/stylesheets/web_resources_front.css.scss index 50e46da..73c611f 100644 --- a/app/assets/stylesheets/web_resources_front.css.scss +++ b/app/assets/stylesheets/web_resources_front.css.scss @@ -5,7 +5,7 @@ .link-img-wrap { display: inline-table; width: 30%; - @media (max-width: 576px){ + @media (max-width: 768px){ width: 50%; } overflow: hidden; @@ -36,8 +36,12 @@ @media (max-width: 576px){ width: 100%; a .link-img-wrap { - width: auto; height: auto; } } + @media (max-width: 768px){ + .link-img-wrap { + width: auto; + } + } } \ No newline at end of file