diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 142df455aa..83c9bec75a 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -5427,6 +5427,11 @@ a.thumbnail:hover { border-radius: 9px; } +.label:empty, +.badge:empty { + display: none; +} + a.label:hover, a.badge:hover { color: #ffffff; diff --git a/docs/components.html b/docs/components.html index 1874470f46..a99a96b9b1 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1859,6 +1859,9 @@ +
For easy implementation, labels and badges will simply collapse (via CSS's :empty
selector) when no content exists within.
{{_i}}For easy implementation, labels and badges will simply collapse (via CSS's :empty
selector) when no content exists within.{{/i}}