This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ const CompanyInfo = ({
3838 </ TopHalf >
3939 < Footer >
4040 "
41- { R . isEmpty ( desc ) ? '---' : desc }
42- "
41+ { R . isEmpty ( desc ) ? '---' : desc } "
4342 </ Footer >
4443 </ Wrapper >
4544)
Original file line number Diff line number Diff line change @@ -14,11 +14,18 @@ export const TopHalf = styled.div`
1414export const BaseInfo = styled . div `
1515 flex-grow: 1;
1616 margin-bottom: 6px;
17+ ${ cs . media . mobile `
18+ max-width: 75%;
19+ ` } ;
1720`
1821export const CompanyLogo = styled ( Img ) `
1922 width: 50px;
2023 height: 50px;
2124 border-radius: 4px;
25+ ${ cs . media . mobile `
26+ width: 40px;
27+ height: 40px;
28+ ` } ;
2229`
2330export const Header = styled . div ``
2431export const Middle = styled . div `
@@ -29,12 +36,15 @@ export const Middle = styled.div`
2936export const Footer = styled . div `
3037 font-size: 0.8rem;
3138 color: ${ theme ( 'thread.articleDigest' ) } ;
39+ ${ cs . media . mobile `
40+ ${ cs . truncate ( '100px' ) } ;
41+ ` } ;
3242`
3343export const Title = styled . div `
3444 color: ${ theme ( 'thread.articleTitle' ) } ;
3545 font-size: 0.9rem;
3646 ${ cs . media . mobile `
37- ${ cs . truncate ( '100px ' ) } ;
47+ ${ cs . truncate ( '90px ' ) } ;
3848 ` } ;
3949`
4050export const StatesWrapper = styled . div `
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ export const Wrapper = styled.div`
2525 cursor: pointer;
2626 }
2727 ${ cs . media . mobile `
28- width: 160px ;
28+ width: 140px ;
2929 height: 200px;
30+ margin-right: 8px;
3031 ` } ;
3132`
3233
Original file line number Diff line number Diff line change 11import styled from 'styled-components'
22
33// import Img from 'components/Img'
4- // import { theme } from 'utils'
4+ import { cs } from 'utils'
55
66export const Wrapper = styled . div `
77 width: 100%;
88 position: relative;
9+ ${ cs . media . mobile `overflow: scroll` } ;
910`
1011export const Title = styled . div ``
1112
1213export const MapWrapper = styled . div `
1314 width: 100%;
15+ ${ cs . media . mobile `width: 250%;` } ;
1416`
You can’t perform that action at this time.
0 commit comments