File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,21 @@ const styles = {
2121 display : 'flex' ,
2222 height : '100%' ,
2323 justifyContent : 'center' ,
24+ position : 'relative' ,
25+ } ,
26+ waiting : {
27+ height : '100%' ,
28+ display : 'flex' ,
29+ webkitUserSelect : 'none' ,
30+ textAlign : 'center' ,
31+ color : '#aaa' ,
32+ justifyContent : 'center' ,
33+ alignItems : 'center' ,
34+ position : 'absolute' ,
35+ top : 0 ,
36+ left : 0 ,
37+ right : 0 ,
38+ bottom : 0 ,
2439 } ,
2540} ;
2641
@@ -137,7 +152,7 @@ export default class ReactInspector extends Component {
137152 render ( ) {
138153 return (
139154 < div id = { containerId } style = { styles . container } >
140- < div id = "waiting" >
155+ < div id = "waiting" style = { styles . waiting } >
141156 < h2 > { 'Waiting for React to connect…' } </ h2 >
142157 </ div >
143158 </ div >
Original file line number Diff line number Diff line change @@ -20,13 +20,6 @@ body {
2020 left : 0 ;
2121 white-space : pre;
2222}
23- # waiting {
24- -webkit-user-select : none;
25- text-align : center;
26- padding : 30px ;
27- color : # aaa ;
28- align-self : center;
29- }
3023# loading {
3124 color : # aaa ;
3225 font-size : 30px ;
You can’t perform that action at this time.
0 commit comments