From dcf300c30468d6f3d6b670285aa69cd6d8c59e71 Mon Sep 17 00:00:00 2001 From: electh Date: Fri, 22 Mar 2024 18:04:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=96=84=E5=9B=BE=E6=A0=87=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Article/ArticleCard.jsx | 3 +++ src/components/Article/ArticleCardMini.jsx | 10 +++++++++- src/components/Sidebar/Sidebar.css | 6 ++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/components/Article/ArticleCard.jsx b/src/components/Article/ArticleCard.jsx index 1cc7376bb..fec2b2ffc 100644 --- a/src/components/Article/ArticleCard.jsx +++ b/src/components/Article/ArticleCard.jsx @@ -74,6 +74,9 @@ const ArticleCard = ({ entry, handleEntryClick }) => { marginRight: "8px", width: "16px", height: "16px", + position: "absolute", + right: "2px", + bottom: "12px", }} /> )} diff --git a/src/components/Article/ArticleCardMini.jsx b/src/components/Article/ArticleCardMini.jsx index 805d9f6c4..972dadb0b 100644 --- a/src/components/Article/ArticleCardMini.jsx +++ b/src/components/Article/ArticleCardMini.jsx @@ -29,7 +29,12 @@ const ArticleCardMini = ({ entry, handleEntryClick }) => { > +
{ marginRight: "8px", width: "16px", height: "16px", + position: "absolute", + left: "10px", + top: "14px", }} /> )} diff --git a/src/components/Sidebar/Sidebar.css b/src/components/Sidebar/Sidebar.css index 487ebe87f..d299b7b45 100644 --- a/src/components/Sidebar/Sidebar.css +++ b/src/components/Sidebar/Sidebar.css @@ -5,3 +5,9 @@ .arco-menu-vertical .arco-menu-inline-header { padding-right: 12px; } + +.arco-ellipsis-text { + display: flex; + flex-direction: row; + align-items: center; +}