1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Move default white background from body to root element (#8110)

In our base stylesheets we set the `body` background color to white.
This unfortunately also affected the preview area of Storybook. The
Storybook preview only renders isolated components, but it does
include all styles.

To avoid this problem, the white background color has been moved to
the `#app-content` div instead. All of our UI is inside this div.
This commit is contained in:
Mark Stacey 2020-02-26 09:33:58 -04:00 committed by GitHub
parent 83da3db37b
commit 35941f34dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,6 @@ body {
font-family: Roboto, Arial;
color: #4d4d4d;
font-weight: 400;
background: #f7f7f7;
width: 100%;
height: 100%;
margin: 0;
@ -57,6 +56,7 @@ html {
height: 100%;
display: flex;
flex-direction: column;
background: #f7f7f7;
@media screen and (max-width: $break-small) {
background-color: $white;