Make rule API consistent with space

This commit is contained in:
Héctor Ramón Jiménez 2025-09-19 18:09:59 +02:00
parent afac7be7d1
commit 8f87a2bc2e
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
7 changed files with 37 additions and 54 deletions

View file

@ -252,7 +252,7 @@ mod toast {
Status::Success => success,
Status::Danger => danger,
}),
rule(1),
rule::horizontal(1),
container(text(toast.body.as_str()))
.width(Fill)
.padding(5)