1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Replace static popover height with responsive max-height (#8290)

The height of the popover is now set to a maximum of 94% of the
viewport height, rather than a static height of 564px. This setting
ensures that the popover has a maximum height of exactly 564px in the
popup, which matches the designs. However it is now able to shrink or
grow to accommodate larger viewports or smaller popovers.
This commit is contained in:
Mark Stacey 2020-04-02 13:37:46 -03:00 committed by GitHub
parent f9e8a01dca
commit b09895b8b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@
flex-direction: column; flex-direction: column;
position: absolute; position: absolute;
width: 328px; width: 328px;
height: 564px; max-height: 94vh;
box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.25); box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.25);
border-radius: 10px; border-radius: 10px;