diff --git a/frontend/pages/hosts/details/cards/Labels/Labels.tsx b/frontend/pages/hosts/details/cards/Labels/Labels.tsx index 47d247917d..60b59413b1 100644 --- a/frontend/pages/hosts/details/cards/Labels/Labels.tsx +++ b/frontend/pages/hosts/details/cards/Labels/Labels.tsx @@ -28,11 +28,11 @@ const Labels = ({ .filter((label: ILabel) => label.label_type !== "builtin") .map((label: ILabel) => { return ( -
  • +
  • @@ -52,7 +52,7 @@ const Labels = ({ No labels are associated with this host.

    ) : ( - + )} ); diff --git a/frontend/pages/hosts/details/cards/Labels/_styles.scss b/frontend/pages/hosts/details/cards/Labels/_styles.scss index 35ac912224..d9fc4969ac 100644 --- a/frontend/pages/hosts/details/cards/Labels/_styles.scss +++ b/frontend/pages/hosts/details/cards/Labels/_styles.scss @@ -1,14 +1,18 @@ .host-labels-card { @include vertical-card-layout; - .list { + &__list { display: flex; + flex-direction: row; flex-wrap: wrap; gap: $pad-small; + list-style: none; + padding: 0; + margin: 0; + } - .list__item { - margin-bottom: 0; - } + &__list-item { + margin-bottom: 0; } .button,