This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
containers/UserLister/styles Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ export const Wrapper = styled.div`
3131 mode === 'default' ? theme ( 'modal.border' ) : theme ( 'baseColor.error' ) } ;
3232 animation: ${ animate . zoomInRule } ;
3333
34- ${ cs . media . mobile `width: 300px ` } ;
35- ${ cs . media . mobile `width: 400px ` } ;
34+ ${ cs . media . tablet `width: 460px ` } ;
35+ ${ cs . media . mobile `width: 320px ` } ;
3636`
3737export const ChildrenWrapper = styled . div `
3838 min-height: 320px;
Original file line number Diff line number Diff line change @@ -24,15 +24,23 @@ export const UserAvatar = styled(Img)`
2424 height: 55px;
2525 border-radius: 4px;
2626 display: block;
27- `
2827
28+ ${ cs . media . mobile `
29+ width: 30px;
30+ height: 30px;
31+ ` } ;
32+ `
2933export const UserBrief = styled . div `
3034 ${ cs . flexColumnGrow ( 'justify-between' ) } ;
3135 margin-left: 18px;
3236`
3337export const Title = styled . div `
3438 ${ cs . flex ( 'align-center' ) } ;
3539 color: ${ theme ( 'thread.articleTitle' ) } ;
40+
41+ ${ cs . media . tablet `
42+ ${ cs . flexColumn ( 'align-start' ) } ;
43+ ` } ;
3644`
3745export const Nickname = styled . div `
3846 font-size: 1rem;
@@ -41,6 +49,18 @@ export const Location = styled.div`
4149 ${ cs . flex ( 'align-center' ) } ;
4250 color: ${ theme ( 'thread.articleDigest' ) } ;
4351 margin-left: 10px;
52+
53+ ${ cs . media . tablet `
54+ ${ cs . truncate ( '80px' ) } ;
55+ margin-left: 0;
56+ margin-bottom: 3px;
57+ ` } ;
58+
59+ ${ cs . media . mobile `
60+ ${ cs . truncate ( '60px' ) } ;
61+ margin-left: 0;
62+ margin-bottom: 3px;
63+ ` } ;
4464`
4565export const GeoIcon = styled ( Img ) `
4666 fill: ${ theme ( 'thread.articleDigest' ) } ;
You can’t perform that action at this time.
0 commit comments