diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-12 18:58:39 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-12 19:57:28 +0100 |
| commit | 3ffa7393f0632d9ee5dd9c821685a1a033d5c0ab (patch) | |
| tree | af09b0683352c4028436a2e5251dce54cf41d4aa /library/src/layout/container.rs | |
| parent | f4856c18b9cf3f6952276cc61b557aebeb2fa651 (diff) | |
Make all nodes block-level
Diffstat (limited to 'library/src/layout/container.rs')
| -rw-r--r-- | library/src/layout/container.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/library/src/layout/container.rs b/library/src/layout/container.rs index b7e7aa18..7bb6a6e9 100644 --- a/library/src/layout/container.rs +++ b/library/src/layout/container.rs @@ -38,7 +38,7 @@ use crate::prelude::*; /// ## Category /// layout #[func] -#[capable(Layout, Inline)] +#[capable(Layout)] #[derive(Debug, Hash)] pub struct BoxNode { /// How to size the content horizontally and vertically. @@ -99,8 +99,6 @@ impl Layout for BoxNode { } } -impl Inline for BoxNode {} - /// # Block /// A block-level container that places content into a separate flow. /// |
