improv: spacing/padding fixes

This commit is contained in:
Vukašin Vojinović 2024-09-04 15:21:51 +02:00 committed by Michael Murphy
parent 71cd25c06d
commit 1046778d01
7 changed files with 13 additions and 16 deletions

View file

@ -173,13 +173,13 @@ pub mod divider {
/// Horizontal divider with light thickness
#[must_use]
pub fn light() -> Rule<crate::Theme> {
horizontal_rule(4).style(crate::theme::Rule::LightDivider)
horizontal_rule(1).style(crate::theme::Rule::LightDivider)
}
/// Horizontal divider with heavy thickness.
#[must_use]
pub fn heavy() -> Rule<crate::Theme> {
horizontal_rule(10).style(crate::theme::Rule::HeavyDivider)
horizontal_rule(4).style(crate::theme::Rule::HeavyDivider)
}
}