Skip to content

Commit

Permalink
改善图标显示
Browse files Browse the repository at this point in the history
  • Loading branch information
electh committed Mar 22, 2024
1 parent 5a23477 commit dcf300c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/Article/ArticleCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ const ArticleCard = ({ entry, handleEntryClick }) => {
marginRight: "8px",
width: "16px",
height: "16px",
position: "absolute",
right: "2px",
bottom: "12px",
}}
/>
)}
Expand Down
10 changes: 9 additions & 1 deletion src/components/Article/ArticleCardMini.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ const ArticleCardMini = ({ entry, handleEntryClick }) => {
>
<Card.Meta
description={
<div style={{ display: "flex" }}>
<div
style={{
display: "flex",
paddingLeft: showFeedIcon ? "22px" : "0",
}}
>
<div style={{ marginRight: "10px", flex: "1" }}>
<Typography.Text
style={
Expand Down Expand Up @@ -58,6 +63,9 @@ const ArticleCardMini = ({ entry, handleEntryClick }) => {
marginRight: "8px",
width: "16px",
height: "16px",
position: "absolute",
left: "10px",
top: "14px",
}}
/>
)}
Expand Down
6 changes: 6 additions & 0 deletions src/components/Sidebar/Sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit dcf300c

Please sign in to comment.