From e02af9e9b21a974290164381cbb9e51cae930e3a Mon Sep 17 00:00:00 2001 From: Bohung Date: Mon, 10 May 2021 19:42:17 +0800 Subject: [PATCH] Fix header-nav css. --- assets/stylesheets/template/layout/header.scss | 2 +- modules/web_resource/info.json | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index 45d8a73..8ecb517 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -34,7 +34,7 @@ color: #FFF; font-family: $main-font; - & > * { + & > *:not(p) { display: inline-block; margin-top: 0; margin-bottom: 0; diff --git a/modules/web_resource/info.json b/modules/web_resource/info.json index 253d909..3d51c46 100644 --- a/modules/web_resource/info.json +++ b/modules/web_resource/info.json @@ -13,8 +13,16 @@ { "filename" : "web_res_widget1", "name" : { - "zh_tw" : "1. 列表 ( 模組標題, 連結 )", - "en" : "1. List (widget-title, link)" + "zh_tw" : "1. 直式列表 ( 模組標題, 連結 )", + "en" : "1. Vertical List (widget-title, link)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "web_res_widget2", + "name" : { + "zh_tw" : "2. 橫式列表 ( 模組標題, 連結 )", + "en" : "2. Horizontal List (widget-title, link)" }, "thumbnail" : "thumb.png" }