mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
added style override #153
This commit is contained in:
parent
917e92d9ff
commit
e3bcd27af0
@ -1,6 +1,7 @@
|
|||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { Layout, Panel, NavDrawer } from 'react-toolbox';
|
import { Layout, Panel, NavDrawer } from 'react-toolbox';
|
||||||
import { AppBar, IconButton } from 'react-toolbox';
|
import { AppBar, IconButton } from 'react-toolbox';
|
||||||
|
import style from './style'
|
||||||
|
|
||||||
import Navigation from './Navigation';
|
import Navigation from './Navigation';
|
||||||
|
|
||||||
@ -15,7 +16,7 @@ export default class App extends Component {
|
|||||||
|
|
||||||
render () {
|
render () {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className={style.container}>
|
||||||
<AppBar>
|
<AppBar>
|
||||||
<IconButton icon="menu" onClick={ this.toggleDrawerActive }/>
|
<IconButton icon="menu" onClick={ this.toggleDrawerActive }/>
|
||||||
</AppBar>
|
</AppBar>
|
||||||
|
8
packages/unleash-frontend-next/src/style.scss
Normal file
8
packages/unleash-frontend-next/src/style.scss
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
.container {
|
||||||
|
height: auto;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
@ -24,4 +24,7 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user