From df46ee7664cb436924beaea24aa5cbf92516fb04 Mon Sep 17 00:00:00 2001 From: BG-Software <73077398+BG-Software-BG@users.noreply.github.com> Date: Tue, 7 Jan 2025 22:45:07 +0100 Subject: [PATCH] Do not display empty
(#2045) --- .changeset/soft-suits-count.md | 5 +++++ src/scss/ui/_forms.scss | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/soft-suits-count.md diff --git a/.changeset/soft-suits-count.md b/.changeset/soft-suits-count.md new file mode 100644 index 000000000..77001746e --- /dev/null +++ b/.changeset/soft-suits-count.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Do not display empty `fieldset` element diff --git a/src/scss/ui/_forms.scss b/src/scss/ui/_forms.scss index f80bcc620..78572fbf2 100644 --- a/src/scss/ui/_forms.scss +++ b/src/scss/ui/_forms.scss @@ -130,6 +130,10 @@ Form control border-radius: var(--#{$prefix}border-radius); } +fieldset:empty { + display: none; +} + /** Form help */