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

Commit 27b4bc7

Browse files
committed
style(works): add authors to optiontab & adjust margin
1 parent f3ce6e8 commit 27b4bc7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/containers/content/WorksContent/List/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ const options = [
1919
title: '讨论',
2020
raw: LAUNCH.PUBLISHED,
2121
},
22+
{
23+
title: '创作者',
24+
raw: LAUNCH.PRE_PUBLISH,
25+
},
2226
{
2327
title: '里程碑',
2428
raw: LAUNCH.PRE_PUBLISH,

src/containers/content/WorksContent/styles/list/option_tab.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { css, theme } from '@/utils'
66

77
export const Wrapper = styled.div`
88
${css.flex('align-center')};
9-
width: 200px;
9+
width: 100%;
1010
1111
margin-top: 6px;
1212
margin-bottom: 12px;
@@ -16,7 +16,7 @@ export const ItemWrapper = styled.div<TActive>`
1616
${css.flex('align-both')};
1717
cursor: pointer;
1818
background-color: ${({ active }) => (active ? '#03404e' : 'transparent')};
19-
margin-right: 2px;
19+
margin-right: 8px;
2020
border-radius: 10px;
2121
padding: ${({ active }) => (active ? '2px 16px' : '2px 8px')};
2222
`

0 commit comments

Comments
 (0)