mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
adjust sizes #153
This commit is contained in:
parent
82329bd540
commit
917e92d9ff
@ -22,7 +22,8 @@ export default class App extends Component {
|
|||||||
<Layout>
|
<Layout>
|
||||||
<NavDrawer
|
<NavDrawer
|
||||||
active={this.state.drawerActive}
|
active={this.state.drawerActive}
|
||||||
permanentAt="sm" style={{ width: '200px' }}>
|
permanentAt="sm" style={{ width: '200px' }}
|
||||||
|
>
|
||||||
<Navigation />
|
<Navigation />
|
||||||
</NavDrawer>
|
</NavDrawer>
|
||||||
<Panel scrollY={false}>
|
<Panel scrollY={false}>
|
||||||
|
@ -1,8 +1,24 @@
|
|||||||
@import "~react-toolbox/lib/colors";
|
@import "~react-toolbox/lib/colors";
|
||||||
|
@import "~react-toolbox/lib/globals";
|
||||||
|
|
||||||
$color-primary:$palette-blue-400;
|
$color-primary:$palette-blue-400;
|
||||||
$color-primary-dark: $palette-blue-700;
|
$color-primary-dark: $palette-blue-700;
|
||||||
|
|
||||||
|
$appbar-height: 4.4 * $unit !default;
|
||||||
|
$appbar-height-m-portrait: 5.6 * $unit !default;
|
||||||
|
$appbar-height-m-landscape: 4.8 * $unit !default;
|
||||||
|
|
||||||
|
$navigation-drawer-desktop-width: 3 * $standard-increment-desktop !default;
|
||||||
|
$navigation-drawer-max-desktop-width: 40 * $unit !default;
|
||||||
|
|
||||||
|
// Mobile:
|
||||||
|
// Width = Screen width − 56 dp
|
||||||
|
// Maximum width: 320dp
|
||||||
|
$navigation-drawer-mobile-width: 5 * $standard-increment-mobile !default;
|
||||||
|
|
||||||
|
// sass doesn't like use of variable here: calc(100% - $standard-increment-mobile);
|
||||||
|
$navigation-drawer-max-mobile-width: calc(100% - 5.6rem) !default;
|
||||||
|
|
||||||
body {
|
body {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user