From ef82cd8cfd34fd72f8bd14c0efb0e42fc72e25b1 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 22 Aug 2023 16:56:55 -0400 Subject: [PATCH] fix empty attributes in properties table --- docs/_includes/component.njk | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/_includes/component.njk b/docs/_includes/component.njk index f340c93fc..f1654d25f 100644 --- a/docs/_includes/component.njk +++ b/docs/_includes/component.njk @@ -137,15 +137,17 @@ {{ prop.name }} - {% if prop.attribute != prop.name %} -
- - - - {{ prop.attribute }} - - - + {% if prop.attribute | length > 0 %} + {% if prop.attribute != prop.name %} +
+ + + + {{ prop.attribute }} + + + + {% endif %} {% endif %}