File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ button.small .icon {
273
273
}
274
274
275
275
# panel # drag-handle {
276
- width : 100 % ;
276
+ flex-grow : 2 ;
277
277
height : 100% ;
278
278
cursor : grab;
279
279
}
@@ -293,6 +293,19 @@ button.small .icon {
293
293
background : # 008184 ;
294
294
}
295
295
296
+ .panel-bar # connection-status {
297
+ display : flex;
298
+ align-items : center;
299
+ gap : 10px ;
300
+ color : white;
301
+ }
302
+
303
+ .panel-bar # connection-status img {
304
+ width : 1.25em ;
305
+ height : 1.25em ;
306
+ filter : invert (1 );
307
+ }
308
+
296
309
.panel-bar .term-operations {
297
310
transition : opacity 0.15s ;
298
311
display : flex;
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ function ReplPanel(state, emit) {
13
13
return html `
14
14
< div id ="panel " style ="height: ${ state . panelHeight } px ">
15
15
< div class ="panel-bar ">
16
+ < div id ="connection-status " style ="visibility:${ state . isConnected ? 'visible' : 'hidden' } ; ">
17
+ < img src ="media/connect.svg " />
18
+ < div > ${ state . isConnected ? 'Connected to ' + state . connectedPort : '' } </ div >
19
+ </ div >
16
20
< div id ="drag-handle "
17
21
onmousedown =${ ( ) => emit ( 'start-resizing-panel' ) }
18
22
onmouseup =${ ( ) => emit ( 'stop-resizing-panel' ) }
You can’t perform that action at this time.
0 commit comments