divider: Remove the horizontal divider full width style (#1278)

This commit is contained in:
Floyd Wang 2025-09-23 13:46:35 +08:00 committed by GitHub
parent d4f51f3135
commit 4b3731bf14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@ impl Divider {
/// Creates a horizontal divider.
pub fn horizontal() -> Self {
Self {
base: div().w_full(),
base: div(),
axis: Axis::Horizontal,
label: None,
color: None,