mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Extract style for Home component into separate module (#8139)
The styles used for the Home component were in the huge "newui-sections" SCSS file. Instead they've been moved into an SCSS module alongside the component, to follow our conventions. The `main-container` class was left as-is because it is shared between here and the settings page.
This commit is contained in:
parent
b534ecb2e1
commit
f4c279e6ff
@ -38,13 +38,6 @@ $wallet-view-bg: $alabaster;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
//Account and transaction details
|
||||
.account-and-transaction-details {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
// wallet view and sidebar
|
||||
|
||||
.wallet-view {
|
||||
|
@ -107,7 +107,7 @@ export default class Home extends PureComponent {
|
||||
|
||||
return (
|
||||
<div className="main-container">
|
||||
<div className="account-and-transaction-details">
|
||||
<div className="home__container">
|
||||
<Media
|
||||
query="(min-width: 576px)"
|
||||
render={() => <WalletView />}
|
||||
|
4
ui/app/pages/home/index.scss
Normal file
4
ui/app/pages/home/index.scss
Normal file
@ -0,0 +1,4 @@
|
||||
.home__container {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
}
|
@ -4,6 +4,8 @@
|
||||
|
||||
@import 'error/index';
|
||||
|
||||
@import 'home/index';
|
||||
|
||||
@import 'send/send';
|
||||
|
||||
@import 'confirm-add-token/index';
|
||||
|
Loading…
Reference in New Issue
Block a user