mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
7a6b2594f6
A change made in #8284 had the unintended side-effect of making this scrollbar appear on the home screen. Previously it was scrollable without any scroll bar being visible.
104 lines
1.7 KiB
SCSS
104 lines
1.7 KiB
SCSS
.home {
|
|
&__container {
|
|
display: flex;
|
|
height: 100%;
|
|
}
|
|
|
|
&__main-view {
|
|
flex: 1 1 66.5%;
|
|
background: $white;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
&__balance-wrapper {
|
|
@media screen and (max-width: $break-small) {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
flex: 0 0 auto;
|
|
padding-top: 16px;
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
margin: 2.3em 2.37em .8em;
|
|
flex: 0 0 auto;
|
|
}
|
|
}
|
|
|
|
&__tab {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
&__connect-status-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
@extend %content-text;
|
|
padding-left: 24px;
|
|
padding-right: 24px;
|
|
|
|
div {
|
|
&:last-child {
|
|
margin-top: 26px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__connected-status-popover {
|
|
width: 329px;
|
|
height: 295px;
|
|
margin-top: -12px;
|
|
|
|
.popover-header {
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.popover-content {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.popover-arrow {
|
|
top: -6px;
|
|
left: 24px;
|
|
}
|
|
|
|
.popover-footer {
|
|
justify-content: flex-end;
|
|
|
|
& :only-child {
|
|
margin: 0;
|
|
}
|
|
|
|
button {
|
|
height: 39px;
|
|
width: 133px;
|
|
border-radius: 39px;
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__connected-status-popover-bg {
|
|
height: 34px;
|
|
width: 110px;
|
|
border-radius: 34px;
|
|
position: absolute;
|
|
top: 82px;
|
|
left: 12px;
|
|
opacity: 1;
|
|
box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.2);
|
|
background: none;
|
|
}
|
|
|
|
&__connected-status-popover-bg-container {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|