Ott 307 team profile adaptive (#154)
parent
57dcf853c1
commit
fd9cbf786c
@ -0,0 +1,11 @@ |
||||
import styled from 'styled-components/macro' |
||||
|
||||
import { devices } from 'config/devices' |
||||
|
||||
export const Content = styled.main` |
||||
padding: 0 16px; |
||||
|
||||
@media ${devices.tablet} { |
||||
padding: 0; |
||||
} |
||||
` |
||||
@ -1,5 +1,37 @@ |
||||
import styled from 'styled-components/macro' |
||||
|
||||
import { devices } from 'config/devices' |
||||
|
||||
import { |
||||
Wrapper, |
||||
InfoItems, |
||||
Logo, |
||||
} from '../ProfileCard/styled' |
||||
|
||||
export const Content = styled.main` |
||||
padding: 0 16px; |
||||
|
||||
${Logo} { |
||||
background-color: transparent; |
||||
} |
||||
|
||||
@media ${devices.laptop}{ |
||||
${Wrapper} { |
||||
margin-top: 29px; |
||||
} |
||||
|
||||
${InfoItems} { |
||||
justify-content: center; |
||||
} |
||||
} |
||||
|
||||
@media ${devices.tablet} { |
||||
padding: 0; |
||||
${Wrapper} { |
||||
margin-top: 15px; |
||||
} |
||||
|
||||
} |
||||
|
||||
|
||||
` |
||||
|
||||
Loading…
Reference in new issue