diff options
Diffstat (limited to 'crates/material_theme/src/rule.rs')
| -rw-r--r-- | crates/material_theme/src/rule.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/material_theme/src/rule.rs b/crates/material_theme/src/rule.rs index 36e4dd4..77cb0ef 100644 --- a/crates/material_theme/src/rule.rs +++ b/crates/material_theme/src/rule.rs @@ -21,6 +21,7 @@ pub fn inset(theme: &Theme) -> Style { fill_mode: FillMode::Padded(8), width: 1, radius: Radius::default(), + snap: cfg!(feature = "crisp"), } } pub fn full_width(theme: &Theme) -> Style { @@ -29,5 +30,6 @@ pub fn full_width(theme: &Theme) -> Style { fill_mode: FillMode::Full, width: 1, radius: Radius::default(), + snap: cfg!(feature = "crisp"), } } |
