Skip to content

Commit

Permalink
Fix device trust passthrough styles
Browse files Browse the repository at this point in the history
This will set the top padding of the passthrough page to a screen height
ratio instead of a fixed pixel size. Also, this will remove the absolute
positioning of the bottom text for very short screen sizes to prevent it
from overlapping with the text above
  • Loading branch information
avatus committed Jul 25, 2024
1 parent ca0c0f4 commit de7e1e4
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ export const DeviceTrustConnectPassthrough = ({
const SkipAuthNotice = styled(Box)`
text-align: center;
width: 100%;
position: absolute;
bottom: 24px;
@media (min-height: 500px) {
position: absolute;
bottom: 24px;
}
`;

const DownloadButton = styled(ButtonLink)`
Expand All @@ -156,5 +158,5 @@ const BoldText = styled.span`
const Wrapper = styled(Box)`
text-align: center;
line-height: 32px;
padding-top: 200px;
padding-top: 5vh;
`;

0 comments on commit de7e1e4

Please sign in to comment.