From 245c6d409f8437091bc69eec401638213268b891 Mon Sep 17 00:00:00 2001 From: Bohung Date: Mon, 10 May 2021 19:37:52 +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 a17630a..0eabd97 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -18,7 +18,7 @@ color: #a19a91; font-family: $main-font; padding: 6px 15px; - & > * { + & > *: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" }