Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 2ed05d7

Browse files
committed
style(dashboard): adjust notify bg setter
1 parent 5866d6c commit 2ed05d7

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/containers/thread/DashboardThread/UI/BannerNotifyLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const BannerNotifyLayout: FC<TProps> = ({
118118
</Block>
119119
<LayoutTitle $active={layout === BANNER_NOTIFY_LAYOUT.DEFAULT}>
120120
<CheckLabel
121-
title="常规式"
121+
title="间隔式"
122122
$active={layout === BANNER_NOTIFY_LAYOUT.DEFAULT}
123123
top={15}
124124
left={-15}

src/containers/thread/DashboardThread/styles/ui/banner_notify_layout.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,21 @@ export const Circle = styled.div<{ radius?: number }>`
130130
`
131131
export const BgWrapper = styled.div`
132132
${css.flex('align-center')};
133+
font-size: 12px;
133134
`
134135
export const BgLabel = styled.div<{ bg: TColorName }>`
135-
${css.circle(24)}
136+
width: 44px;
137+
height: 24px;
136138
${css.flex('align-both')};
137139
border: 1px solid;
138140
border-color: ${({ bg }) => COLORS[bg]};
141+
border-radius: 6px;
139142
cursor: pointer;
140-
margin-left: 10px;
143+
margin-left: 15px;
141144
`
142145
export const TheColor = styled.div<{ color: TColorName }>`
143-
${css.circle(18)};
146+
width: 38px;
147+
height: 18px;
148+
border-radius: 6px;
144149
background-color: ${({ color }) => COLORS[color]};
145150
`

0 commit comments

Comments
 (0)