mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 06:07:06 +01:00
995887aa92
* UX: Multichain: Ensure network picker renders properly for long and short network names * Updatte ui/components/multichain/app-header/app-header.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/multichain/app-header/app-header.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/multichain/app-header/app-header.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/multichain/app-header/app-header.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/multichain/app-header/app-header.js Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/multichain/app-header/app-header.scss Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/multichain/app-header/app-header.scss Co-authored-by: George Marshall <george.marshall@consensys.net> * Fix jest issue --------- Co-authored-by: George Marshall <george.marshall@consensys.net>
71 lines
1.3 KiB
SCSS
71 lines
1.3 KiB
SCSS
.multichain-app-header {
|
|
$height-screen-sm-max: 100%;
|
|
$width-screen-sm-min: 85vw;
|
|
$width-screen-md-min: 80vw;
|
|
$width-screen-lg-min: 62vw;
|
|
|
|
flex-flow: column nowrap;
|
|
z-index: 55;
|
|
min-height: 64px;
|
|
|
|
&__contents {
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr 1fr;
|
|
height: 64px;
|
|
|
|
@include screen-sm-max {
|
|
height: $height-screen-sm-max;
|
|
}
|
|
|
|
@include screen-sm-min {
|
|
width: $width-screen-sm-min;
|
|
}
|
|
|
|
@include screen-md-min {
|
|
width: $width-screen-md-min;
|
|
}
|
|
|
|
@include screen-lg-min {
|
|
width: $width-screen-lg-min;
|
|
}
|
|
|
|
&__network-picker {
|
|
max-width: 250px;
|
|
}
|
|
|
|
&--avatar-network {
|
|
padding: 0; // TODO: Remove once https://github.com/MetaMask/metamask-extension/pull/17006 is merged
|
|
}
|
|
}
|
|
|
|
&__lock-contents {
|
|
flex-flow: row nowrap;
|
|
height: 64px;
|
|
|
|
@include screen-sm-max {
|
|
height: $height-screen-sm-max;
|
|
}
|
|
|
|
@include screen-sm-min {
|
|
width: $width-screen-sm-min;
|
|
}
|
|
|
|
@include screen-md-min {
|
|
width: $width-screen-md-min;
|
|
}
|
|
|
|
@include screen-lg-min {
|
|
width: $width-screen-lg-min;
|
|
}
|
|
}
|
|
}
|
|
|
|
.multichain-app-header-shadow {
|
|
box-shadow: var(--shadow-size-md) var(--color-shadow-default);
|
|
}
|
|
|
|
.multichain-app-header-logo {
|
|
height: 75px;
|
|
flex: 0 0 auto;
|
|
}
|