From 55be688b49d5e56c5829f3b6f4fbe07ee7892cef Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Thu, 3 Aug 2023 16:18:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcard=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/discover/ext.isekai.discover.base.less | 1 - modules/ext.isekai.widgets.global.less | 10 +++++++++- modules/feedList/ext.isekai.feedList.less | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/discover/ext.isekai.discover.base.less b/modules/discover/ext.isekai.discover.base.less index fe2f3e6..10abf30 100644 --- a/modules/discover/ext.isekai.discover.base.less +++ b/modules/discover/ext.isekai.discover.base.less @@ -25,7 +25,6 @@ .card-content { height: @height; overflow-y: auto; - border-top: 1px solid #ccc; padding: 0 0.6rem; margin: 0 0.4rem; font-size: @text-size; diff --git a/modules/ext.isekai.widgets.global.less b/modules/ext.isekai.widgets.global.less index 4047930..d3aa2d5 100644 --- a/modules/ext.isekai.widgets.global.less +++ b/modules/ext.isekai.widgets.global.less @@ -78,7 +78,11 @@ } .card-title { - margin: 0.75rem 0 0.75rem 1rem; + padding: 0.75rem 0.8rem 0.2rem 0.8rem; + font-size: 1.25rem; + font-weight: 500; + border-bottom: 1px solid #ccc; + box-sizing: border-box; } .card-body { @@ -91,6 +95,10 @@ padding: 0; } + .card-content { + padding: 0.8rem; + } + @media(max-width: 360px) { .card-header-text { font-size: 1rem; diff --git a/modules/feedList/ext.isekai.feedList.less b/modules/feedList/ext.isekai.feedList.less index 9a341c0..2b3e37c 100644 --- a/modules/feedList/ext.isekai.feedList.less +++ b/modules/feedList/ext.isekai.feedList.less @@ -1,4 +1,4 @@ -@feed-list-height: 23.8rem; +@feed-list-height: 23.3rem; @feed-list-height-mobile: 70vh; .isekai-feed-list-card > .card-header {