From bdc7ac3faf8e322c525026ec0ba46fd374c68e44 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 31 Aug 2021 14:43:01 +0800 Subject: [PATCH] fix style --- .../template/modules/announcement.scss | 3 +- .../stylesheets/template/modules/member.scss | 3 ++ modules/ad_banner/info.json | 32 ++++++++++--------- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/assets/stylesheets/template/modules/announcement.scss b/assets/stylesheets/template/modules/announcement.scss index ff863b9..84fc12a 100644 --- a/assets/stylesheets/template/modules/announcement.scss +++ b/assets/stylesheets/template/modules/announcement.scss @@ -13,7 +13,8 @@ // ## Gerneral styles for widgets .clearfix{ display: flex; - justify-content: center; + justify-content: center; + flex-wrap: wrap; } .w-annc__widget-title{ background: url(/assets/titlecap.png) top no-repeat; diff --git a/assets/stylesheets/template/modules/member.scss b/assets/stylesheets/template/modules/member.scss index 146c677..ac3b755 100644 --- a/assets/stylesheets/template/modules/member.scss +++ b/assets/stylesheets/template/modules/member.scss @@ -90,6 +90,9 @@ overflow: hidden; // border: 0.0625em solid #cecece; padding: 0; + @media (max-width: 768px){ + width: 85%; + } } .i-member-pic { diff --git a/modules/ad_banner/info.json b/modules/ad_banner/info.json index 35de46d..dda4273 100644 --- a/modules/ad_banner/info.json +++ b/modules/ad_banner/info.json @@ -54,20 +54,22 @@ "en" : "5. Carousel ( image, title, description, navigation )" }, "thumbnail" : "thumb.png" - }, { - "filename" : "ad_banner_widget6", - "name" : { - "zh_tw" : "6. 橫幅輪播 ( 首頁五張圖片, 圖片說明文字 )", - "en" : "6. Carousel ( image, description, navigation )" - }, - "thumbnail" : "thumb.png" - }, { - "filename" : "ad_banner_widget7", - "name" : { - "zh_tw" : "7. 橫幅輪播 ( 內頁圖片, 圖片說明文字 )", - "en" : "7. Carousel ( image, description, navigation )" - }, - "thumbnail" : "thumb.png" - } + }, + { + "filename" : "ad_banner_widget6", + "name" : { + "zh_tw" : "6. 橫幅輪播 ( 首頁五張圖片, 圖片說明文字 )", + "en" : "6. Carousel ( image, description, navigation )" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "ad_banner_widget7", + "name" : { + "zh_tw" : "7. 橫幅輪播 ( 內頁圖片, 圖片說明文字 )", + "en" : "7. Carousel ( image, description, navigation )" + }, + "thumbnail" : "thumb.png" + } ] }