File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- .container {
2- position : relative;
3- height : 100% ;
4- width : 100% ;
5- }
6- .Sidebar {
7- margin-top : 150px ;
8- }
9- # action-bar {
10- height : 30% ;
11- }
121# feed {
132 display : block;
143 border-width : 2px ;
15- height : 500 px ;
4+ height : 50 % ;
165 width : 100% ;
17- margin-top : 10px ;
186 border-style : solid;
197 color : # 007bff ;
208 border-radius : 10px ;
2412}
2513.swap-area {
2614 width : 100% ;
27- height : 300 px ;
15+ height : 100 % ;
2816 text-align : center;
2917}
Original file line number Diff line number Diff line change @@ -118,12 +118,11 @@ class App extends Component {
118118
119119 < div onKeyPress = { ( e ) => console . log ( e . key ) } >
120120 < Router >
121- < Container >
122- < Row style = { { height : '100%' , width : '100%' , border : 'black' } } >
123- < Col > < div className = "Sidebar" > < Sidebar /> </ div > </ Col >
124- < Col xs = { 8 } >
121+ < Container fluid = { true } >
122+ < Row style = { { height : '100%' , width : '100%' } } >
123+ < Col > < div > < Sidebar /> </ div > </ Col >
124+ < Col xs = { 10 } >
125125 < div id = "feed" />
126- < div id = "action-bar" >
127126 < Switch >
128127 < Route path = "/" exact component = { Control } />
129128 < Route path = "/logs/" render = { ( ) =>
@@ -134,7 +133,6 @@ class App extends Component {
134133 } />
135134 </ Switch >
136135 < Navigation />
137- </ div >
138136 </ Col >
139137 < Col />
140138 </ Row >
Original file line number Diff line number Diff line change 1- # analog-wrapper {
2- position : relative;
3- padding-top : 25% ;
4- padding-bottom : 25% ;
1+ .ReactNipple {
2+ height : 40% ;
53}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Control extends React.Component {
1616 render ( ) {
1717 const isActive = true ;
1818 return (
19- < div id = "analog-wrapper" >
19+ < >
2020 < ReactNipple
2121 // supports all nipplejs options
2222 // see https://github.com/yoannmoinet/nipplejs#options
@@ -28,7 +28,8 @@ class Control extends React.Component {
2828 // see https://github.com/yoannmoinet/nipplejs#start
2929 onMove = { ( evt , data ) => console . log ( evt , data ) }
3030 />
31- </ div >
31+ </ >
32+
3233 ) ;
3334 }
3435}
You can’t perform that action at this time.
0 commit comments