1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00

adjust sizes #153

This commit is contained in:
Ivar 2016-09-13 22:02:12 +02:00 committed by Ivar Conradi Østhus
parent a016fc6ae3
commit 88cbfc2881
2 changed files with 18 additions and 1 deletions

View File

@ -22,7 +22,8 @@ export default class App extends Component {
<Layout>
<NavDrawer
active={this.state.drawerActive}
permanentAt="sm" style={{ width: '200px' }}>
permanentAt="sm" style={{ width: '200px' }}
>
<Navigation />
</NavDrawer>
<Panel scrollY={false}>

View File

@ -1,8 +1,24 @@
@import "~react-toolbox/lib/colors";
@import "~react-toolbox/lib/globals";
$color-primary:$palette-blue-400;
$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 {
padding: 0;
margin: 0;