You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
457 B
15 lines
457 B
import styled, { css } from 'styled-components'
|
|
import { isMobileDevice } from '../../config'
|
|
|
|
export const HeaderWrapAd = styled.div<{column: number}>`
|
|
width: 100%;
|
|
margin-bottom: 0.7rem;
|
|
display: grid;
|
|
grid-column-gap: 0.9rem;
|
|
grid-template-columns: ${({ column }) => (column > 1 ? `repeat(${column},${16.3 * 6 / column}%)` : 'repeat(1, 98.7%)')};
|
|
|
|
${isMobileDevice && css`
|
|
padding: 0px 0.71rem;
|
|
grid-template-columns: none;
|
|
`}}
|
|
`
|
|
|