This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +18
-18
lines changed
PostItem/UpvoteFirstLayout/DesktopView Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ export const Wrapper = styled.div.attrs(({ testid }: TTestable) => ({
1515 margin-top: -1px;
1616`
1717export const SelectEmotionWrapper = styled . div `
18- ${ css . circle ( 22 ) } ;
18+ ${ css . circle ( 24 ) } ;
1919 ${ css . flex ( 'align-both' ) } ;
2020 background: ${ theme ( 'hoverBg' ) } ;
21+ margin-left: 2px;
2122`
Original file line number Diff line number Diff line change @@ -6,21 +6,20 @@ import css, { theme } from '@/utils/css'
66export const Wrapper = styled . div < TActive > `
77 ${ css . flex ( 'align-center' ) } ;
88 cursor: pointer;
9- margin-right: 14px ;
10- margin-right: 5px ;
11- padding : 2px 5px ;
12- border-radius: 5px ;
13- margin-left: -1px;
14- background: ${ ( { $active } ) => ( $active ? '#00333D' : 'transparent ') } ;
9+ margin-right: 6px ;
10+ padding: 2px 8px ;
11+ margin-left : 2px;
12+ border-radius: 15px ;
13+ /* background: ${ ( { $active } ) => ( $active ? '#00333D' : 'transparent' ) } ; */
14+ background: ${ theme ( 'hoverBg ') } ;
1515
1616 &:hover {
17- background: ${ theme ( 'textBadge ' ) } ; // to-theme
17+ background: ${ theme ( 'border ' ) } ;
1818 }
19+
20+ transition: all 0.2s;
1921`
2022
2123export const Count = styled . div `
2224 color: ${ theme ( 'thread.extraInfo' ) } ;
23- ${ Wrapper } :hover & {
24- color: #00a59b;
25- }
2625`
Original file line number Diff line number Diff line change @@ -32,22 +32,22 @@ const Footer: FC<TProps> = ({ article }) => {
3232 />
3333
3434 { ! includes ( article . id , demoList ) ? (
35- < ArticleCatState left = { 20 } type = "QUESTION" />
35+ < ArticleCatState left = { 18 } type = "QUESTION" />
3636 ) : (
3737 < Fragment >
38- { article . id === '239' && < ArticleCatState type = "FEATURE" left = { 20 } /> }
39- { article . id === '231' && < ArticleCatState type = "BUG" left = { 20 } /> }
38+ { article . id === '239' && < ArticleCatState type = "FEATURE" left = { 18 } /> }
39+ { article . id === '231' && < ArticleCatState type = "BUG" left = { 18 } /> }
4040 { article . id === '227' && (
41- < ArticleCatState type = "BUG" state = "TODO" left = { 20 } />
41+ < ArticleCatState type = "BUG" state = "TODO" left = { 18 } />
4242 ) }
4343 { article . id === '228' && (
44- < ArticleCatState type = "FEATURE" state = "WIP" left = { 20 } />
44+ < ArticleCatState type = "FEATURE" state = "WIP" left = { 18 } />
4545 ) }
4646 { article . id === '226' && (
47- < ArticleCatState type = "QUESTION" state = "RESOLVE" left = { 20 } />
47+ < ArticleCatState type = "QUESTION" state = "RESOLVE" left = { 18 } />
4848 ) }
4949 { article . id === '225' && (
50- < ArticleCatState type = "LOCK" state = "LOCK" left = { 20 } />
50+ < ArticleCatState type = "LOCK" state = "LOCK" left = { 18 } />
5151 ) }
5252 </ Fragment >
5353 ) }
You can’t perform that action at this time.
0 commit comments