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:
parent
83da3db37b
commit
35941f34dd
@ -13,7 +13,6 @@ body {
|
|||||||
font-family: Roboto, Arial;
|
font-family: Roboto, Arial;
|
||||||
color: #4d4d4d;
|
color: #4d4d4d;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
background: #f7f7f7;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -57,6 +56,7 @@ html {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
background: #f7f7f7;
|
||||||
|
|
||||||
@media screen and (max-width: $break-small) {
|
@media screen and (max-width: $break-small) {
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
|
Loading…
Reference in New Issue
Block a user