mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	adjust sizes #153
This commit is contained in:
		
							parent
							
								
									a016fc6ae3
								
							
						
					
					
						commit
						88cbfc2881
					
				@ -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}>
 | 
			
		||||
 | 
			
		||||
@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user