@@ -202,7 +202,7 @@ impl Adapter {
202
202
ColorMode :: Light => Style :: default ( ) . fg ( Color :: Black ) ,
203
203
} )
204
204
. row_highlight_style ( if focused_block == FocusedBlock :: Device {
205
- Style :: default ( ) . bg ( Color :: DarkGray )
205
+ Style :: default ( ) . bg ( Color :: DarkGray ) . fg ( Color :: White )
206
206
} else {
207
207
Style :: default ( )
208
208
} ) ;
@@ -368,7 +368,7 @@ impl Adapter {
368
368
ColorMode :: Light => Style :: default ( ) . fg ( Color :: Black ) ,
369
369
} )
370
370
. row_highlight_style ( if focused_block == FocusedBlock :: AccessPoint {
371
- Style :: default ( ) . bg ( Color :: DarkGray )
371
+ Style :: default ( ) . bg ( Color :: DarkGray ) . fg ( Color :: White )
372
372
} else {
373
373
Style :: default ( )
374
374
} ) ;
@@ -437,10 +437,10 @@ impl Adapter {
437
437
let chunks = Layout :: default ( )
438
438
. direction ( Direction :: Vertical )
439
439
. constraints ( [
440
- Constraint :: Percentage ( 16 ) ,
441
- Constraint :: Percentage ( 16 ) ,
442
- Constraint :: Percentage ( 33 ) ,
443
- Constraint :: Percentage ( 34 ) ,
440
+ Constraint :: Length ( 5 ) ,
441
+ Constraint :: Length ( 5 ) ,
442
+ Constraint :: Min ( 10 ) ,
443
+ Constraint :: Fill ( 1 ) ,
444
444
] )
445
445
. margin ( 1 )
446
446
. split ( frame. area ( ) ) ;
@@ -544,7 +544,7 @@ impl Adapter {
544
544
ColorMode :: Light => Style :: default ( ) . fg ( Color :: Black ) ,
545
545
} )
546
546
. row_highlight_style ( if focused_block == FocusedBlock :: Device {
547
- Style :: default ( ) . bg ( Color :: DarkGray )
547
+ Style :: default ( ) . bg ( Color :: DarkGray ) . fg ( Color :: White )
548
548
} else {
549
549
Style :: default ( )
550
550
} ) ;
@@ -690,7 +690,7 @@ impl Adapter {
690
690
ColorMode :: Light => Style :: default ( ) . fg ( Color :: Black ) ,
691
691
} )
692
692
. row_highlight_style ( if focused_block == FocusedBlock :: Station {
693
- Style :: default ( ) . bg ( Color :: DarkGray )
693
+ Style :: default ( ) . bg ( Color :: DarkGray ) . fg ( Color :: White )
694
694
} else {
695
695
Style :: default ( )
696
696
} ) ;
@@ -852,7 +852,7 @@ impl Adapter {
852
852
ColorMode :: Light => Style :: default ( ) . fg ( Color :: Black ) ,
853
853
} )
854
854
. row_highlight_style ( if focused_block == FocusedBlock :: KnownNetworks {
855
- Style :: default ( ) . bg ( Color :: DarkGray )
855
+ Style :: default ( ) . bg ( Color :: DarkGray ) . fg ( Color :: White )
856
856
} else {
857
857
Style :: default ( )
858
858
} ) ;
@@ -977,7 +977,7 @@ impl Adapter {
977
977
ColorMode :: Light => Style :: default ( ) . fg ( Color :: Black ) ,
978
978
} )
979
979
. row_highlight_style ( if focused_block == FocusedBlock :: NewNetworks {
980
- Style :: default ( ) . bg ( Color :: DarkGray )
980
+ Style :: default ( ) . bg ( Color :: DarkGray ) . fg ( Color :: White )
981
981
} else {
982
982
Style :: default ( )
983
983
} ) ;
@@ -1062,7 +1062,7 @@ impl Adapter {
1062
1062
ColorMode :: Dark => Style :: default ( ) . fg ( Color :: White ) ,
1063
1063
ColorMode :: Light => Style :: default ( ) . fg ( Color :: Black ) ,
1064
1064
} )
1065
- . row_highlight_style ( Style :: default ( ) . bg ( Color :: DarkGray ) ) ;
1065
+ . row_highlight_style ( Style :: default ( ) . bg ( Color :: DarkGray ) . fg ( Color :: White ) ) ;
1066
1066
1067
1067
frame. render_widget ( Clear , area) ;
1068
1068
frame. render_widget ( device_infos_table, area) ;
0 commit comments