fix: remove hero component's extra padding on desktop; refs #203
This commit is contained in:
parent
bf27baa545
commit
6cc544394f
|
@ -87,9 +87,14 @@ const Description = styled(Typography)`
|
||||||
const Border = styled.div`
|
const Border = styled.div`
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
width: calc(100% - 2 * var(--main-content-padding));
|
width: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
left: 0px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: var(--main-content-padding);
|
|
||||||
border-bottom: 1px solid rgb(var(--lsd-border-primary));
|
border-bottom: 1px solid rgb(var(--lsd-border-primary));
|
||||||
|
|
||||||
|
@media (max-width: ${uiConfigs.maxContainerWidth}px) {
|
||||||
|
width: calc(100% - 2 * var(--main-content-padding));
|
||||||
|
left: var(--main-content-padding);
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue