summaryrefslogtreecommitdiff
path: root/library/src/layout/container.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-12 18:58:39 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-12 19:57:28 +0100
commit3ffa7393f0632d9ee5dd9c821685a1a033d5c0ab (patch)
treeaf09b0683352c4028436a2e5251dce54cf41d4aa /library/src/layout/container.rs
parentf4856c18b9cf3f6952276cc61b557aebeb2fa651 (diff)
Make all nodes block-level
Diffstat (limited to 'library/src/layout/container.rs')
-rw-r--r--library/src/layout/container.rs4
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.
///