@@ -69,15 +69,15 @@ pub fn notifications_page(sniffer: &Sniffer) -> Container<Message, StyleType> {
6969 } else {
7070 let logged_notifications = logged_notifications ( sniffer) ;
7171 let body_row = Row :: new ( )
72+ . spacing ( 10 )
7273 . padding ( Padding :: new ( 10.0 ) . bottom ( 0 ) )
73- . width ( Length :: Fill )
7474 . push (
7575 Container :: new ( if sniffer. logged_notifications . len ( ) < 30 {
7676 Text :: new ( "" )
7777 } else {
7878 Text :: new ( only_last_30_translation ( language) ) . font ( font)
7979 } )
80- . width ( Length :: Fill )
80+ . width ( 150 )
8181 . height ( Length :: Fill )
8282 . align_x ( Alignment :: Center )
8383 . align_y ( Alignment :: Center ) ,
@@ -88,7 +88,7 @@ pub fn notifications_page(sniffer: &Sniffer) -> Container<Message, StyleType> {
8888 ) )
8989 . push (
9090 Container :: new ( get_button_clear_all ( font, language) )
91- . width ( Length :: Fill )
91+ . width ( 150 )
9292 . height ( Length :: Fill )
9393 . align_x ( Alignment :: Center )
9494 . align_y ( Alignment :: Center ) ,
@@ -205,7 +205,7 @@ fn packets_notification_log<'a>(
205205 ) ;
206206 Container :: new ( content)
207207 . height ( 120 )
208- . width ( 800 )
208+ . width ( Length :: Fill )
209209 . padding ( 10 )
210210 . class ( ContainerType :: BorderedRound )
211211}
@@ -283,7 +283,7 @@ fn bytes_notification_log<'a>(
283283 ) ;
284284 Container :: new ( content)
285285 . height ( 120 )
286- . width ( 800 )
286+ . width ( Length :: Fill )
287287 . padding ( 10 )
288288 . class ( ContainerType :: BorderedRound )
289289}
@@ -330,11 +330,11 @@ fn favorite_notification_log<'a>(
330330 . font ( font) ,
331331 ) ,
332332 )
333- . push ( Column :: new ( ) . spacing ( 7 ) . width ( Length :: Fill ) . push ( host_bar) ) ;
333+ . push ( Column :: new ( ) . spacing ( 7 ) . push ( host_bar) ) ;
334334
335335 Container :: new ( content)
336336 . height ( 120 )
337- . width ( 800 )
337+ . width ( Length :: Fill )
338338 . padding ( 10 )
339339 . class ( ContainerType :: BorderedRound )
340340}
@@ -368,7 +368,7 @@ fn logged_notifications<'a>(sniffer: &Sniffer) -> Column<'a, Message, StyleType>
368368 let chart_type = sniffer. traffic_chart . chart_type ;
369369 let font = style. get_extension ( ) . font ;
370370 let mut ret_val = Column :: new ( )
371- . width ( 830 )
371+ . padding ( Padding :: ZERO . right ( 15 ) )
372372 . spacing ( 10 )
373373 . align_x ( Alignment :: Center ) ;
374374
0 commit comments