minor improvements to picklists padding

This commit is contained in:
Giuliano Bellini s294739 2024-01-20 21:43:43 +01:00
parent 0212adde1e
commit f249f85120
3 changed files with 4 additions and 7 deletions

View file

@ -68,7 +68,7 @@ pub fn inspect_page(sniffer: &Sniffer) -> Container<Message, Renderer<StyleType>
}
},
)
.padding([3, 7])
.padding([2, 7])
.font(font);
let report = lazy(

View file

@ -162,7 +162,7 @@ fn language_picklist(
Some(language),
Message::LanguageSelection,
)
.padding([3, 7])
.padding([2, 7])
.font(font),
);

View file

@ -47,11 +47,8 @@ impl pick_list::StyleSheet for StyleType {
handle_color: colors.text_body,
background: Background::Color(ext.buttons_color),
border_radius: PICKLIST_BORDER_RADIUS.into(),
border_width: BORDER_WIDTH,
border_color: Color {
a: ext.alpha_round_borders,
..ext.buttons_color
},
border_width: 0.0,
border_color: Color::TRANSPARENT,
}
}