chore: updates by dingyi's feedbacks

This commit is contained in:
zerosoul
2022-05-20 20:24:28 +08:00
parent 17ef9a31b1
commit fd5dd0a83e
20 changed files with 114 additions and 69 deletions
+3
View File
@@ -28,6 +28,9 @@ const Styled = styled.div`
&:disabled svg path {
fill: #ccc;
}
&:hover {
background: #eaecf0;
}
}
.close {
cursor: pointer;
+1
View File
@@ -19,6 +19,7 @@ const Styled = styled.article`
justify-content: space-between;
position: relative;
> .chat {
border-bottom-right-radius: 16px;
width: 100%;
background-color: #fff;
display: flex;
+1 -1
View File
@@ -157,7 +157,7 @@ function FavsPage() {
</span>
);
return (
<div className="fav" key={id}>
<div className="container" key={id}>
<h4 className="tip">
{tip}
{dayjs(created_at).format("YYYY-MM-DD")}
+4 -1
View File
@@ -45,11 +45,14 @@ const Styled = styled.div`
flex-direction: column;
gap: 32px;
overflow-y: scroll;
.fav {
.container {
max-width: 600px;
display: flex;
flex-direction: column;
gap: 4px;
> .favorite {
background: #f2f4f7;
}
.tip {
display: inline-flex;
align-items: center;
+4
View File
@@ -34,6 +34,10 @@ const Styled = styled.div`
align-items: center;
gap: 8px;
color: #616161;
font-weight: 600;
font-size: 14px;
line-height: 20px;
color: #475467;
.icon {
width: 15px;
height: auto;
+3
View File
@@ -16,6 +16,9 @@ const Styled = styled.ul`
cursor: pointer;
padding: 8px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
}
&.item .item,
&.grid .grid {