From 64bca46d2e59bf6ce6bbc3b4979c1176b940ca3d Mon Sep 17 00:00:00 2001 From: Joachim Viide Date: Mon, 11 Nov 2024 13:26:19 +0000 Subject: [PATCH] Remove display="inline" support from ui/experimental/Box --- .changeset/slow-cooks-tickle.md | 5 +++++ src/ui/experimental/Box.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/slow-cooks-tickle.md diff --git a/.changeset/slow-cooks-tickle.md b/.changeset/slow-cooks-tickle.md new file mode 100644 index 0000000..3f84016 --- /dev/null +++ b/.changeset/slow-cooks-tickle.md @@ -0,0 +1,5 @@ +--- +"@badrap/libapp": patch +--- + +Remove display="inline" support from ui/experimental/Box diff --git a/src/ui/experimental/Box.ts b/src/ui/experimental/Box.ts index 510a95c..ae9c97f 100644 --- a/src/ui/experimental/Box.ts +++ b/src/ui/experimental/Box.ts @@ -17,7 +17,7 @@ type BoxProps = { flexBasis?: Responsive; flexGrow?: Responsive; flexShrink?: Responsive; - display?: Responsive<"none" | "inline" | "block" | "inline-block">; + display?: Responsive<"none" | "block" | "inline-block">; children?: UiNode; };