mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-11 08:31:00 +00:00
test sticky build 2
This commit is contained in:
parent
2e5d029393
commit
3a9a214bc2
@ -19,8 +19,11 @@ type State = {
|
||||
footerFixed: boolean,
|
||||
}
|
||||
|
||||
const AsideWrapper = styled.aside`
|
||||
min-height: ${props => props.minHeight}px;
|
||||
const AsideWrapper = styled.aside.attrs({
|
||||
style: ({ minHeight }) => ({
|
||||
minHeight,
|
||||
}),
|
||||
})`
|
||||
position: relative;
|
||||
top: 0px;
|
||||
width: 320px;
|
||||
@ -30,10 +33,13 @@ const AsideWrapper = styled.aside`
|
||||
border-right: 1px solid ${colors.DIVIDER};
|
||||
`;
|
||||
|
||||
const StickyContainerWrapper = styled.div`
|
||||
top: ${props => props.top}px;
|
||||
left: ${props => props.left}px;
|
||||
padding-bottom: ${props => props.paddingBottom}px;
|
||||
const StickyContainerWrapper = styled.div.attrs({
|
||||
style: ({ top, left, paddingBottom }) => ({
|
||||
top,
|
||||
left,
|
||||
paddingBottom,
|
||||
}),
|
||||
})`
|
||||
position: fixed;
|
||||
border-right: 1px solid ${colors.DIVIDER};
|
||||
width: 320px;
|
||||
|
@ -45,8 +45,11 @@ const TransitionContentWrapper = styled.div`
|
||||
vertical-align: top;
|
||||
`;
|
||||
|
||||
const Footer = styled.div`
|
||||
position: ${props => props.position};
|
||||
const Footer = styled.div.attrs({
|
||||
style: ({ position }) => ({
|
||||
position,
|
||||
}),
|
||||
})`
|
||||
width: 320px;
|
||||
bottom: 0;
|
||||
background: ${colors.MAIN};
|
||||
|
Loading…
Reference in New Issue
Block a user