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

Commit 8a37ba5

Browse files
committed
chore: subscribe btn style
1 parent d66c006 commit 8a37ba5

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

src/containers/digest/CommunityDigest/ClassicLayout/AccountUnit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const AccountUnit: FC = () => {
1616
return (
1717
<Wrapper>
1818
<SubscribeButton type="primary" ghost size="small">
19-
<SubText>订阅</SubText>
19+
订阅
2020
</SubscribeButton>
2121

2222
<NotifyIcon />

src/containers/digest/CommunityDigest/SimpleLayout/AccountUnit.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import {
55
Avatar,
66
NotifyIcon,
77
SubscribeButton,
8-
SubText,
9-
// SearchIcon,
108
} from '../styles/simple_layout/account_unit'
119
import { mockUsers } from '@/utils/mock'
1210
// import { onShowEditorList, onShowSubscriberList, setViewport } from '../logic'
@@ -16,7 +14,7 @@ const AccountUnit: FC = () => {
1614
return (
1715
<Wrapper>
1816
<SubscribeButton type="primary" ghost size="small">
19-
<SubText>订阅</SubText>
17+
订阅
2018
</SubscribeButton>
2119

2220
<NotifyIcon />

src/containers/digest/CommunityDigest/styles/simple_layout/account_unit.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ export const SubscribeButton = styled(Button)`
2323
border-radius: 10px;
2424
padding: 0 12px;
2525
`
26-
export const SubText = styled.div`
27-
font-size: 12px;
28-
`
2926
export const NotifyIcon = styled(NotifySVG)`
3027
fill: ${theme('thread.articleDigest')};
3128
${css.size(22)};

src/widgets/Buttons/styles/metircs/button.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const getFontSize = (size: string): string => {
8383
}
8484

8585
case SIZE.SMALL: {
86-
return '13px'
86+
return '12px'
8787
}
8888

8989
default: {

0 commit comments

Comments
 (0)