From fc2f6cddf9162b0dd3a2c7e147e26f4471fe03ed Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Fri, 12 Jan 2024 14:40:28 -0800 Subject: [PATCH] Inset: fix comment (#2389) --- reflex/components/radix/themes/components/inset.py | 1 + reflex/components/radix/themes/components/inset.pyi | 1 + 2 files changed, 2 insertions(+) diff --git a/reflex/components/radix/themes/components/inset.py b/reflex/components/radix/themes/components/inset.py index 65c244cdf..4c8a7ffe4 100644 --- a/reflex/components/radix/themes/components/inset.py +++ b/reflex/components/radix/themes/components/inset.py @@ -20,6 +20,7 @@ class Inset(el.Div, CommonMarginProps, RadixThemesComponent): # The side side: Var[Literal["x", "y", "top", "bottom", "right", "left"]] + # How to clip the element's content: "border-box" | "padding-box" clip: Var[Literal["border-box", "padding-box"]] # Padding diff --git a/reflex/components/radix/themes/components/inset.pyi b/reflex/components/radix/themes/components/inset.pyi index 596012a20..d74a6e405 100644 --- a/reflex/components/radix/themes/components/inset.pyi +++ b/reflex/components/radix/themes/components/inset.pyi @@ -250,6 +250,7 @@ class Inset(el.Div, CommonMarginProps, RadixThemesComponent): color: map to CSS default color property. color_scheme: map to radix color property. side: The side + clip: How to clip the element's content: "border-box" | "padding-box" p: Padding px: Padding on the x axis py: Padding on the y axis