Skip to content

Commit

Permalink
feat(cc-zone): remove cc-flex-gap
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-sanders-cc committed Jun 20, 2023
1 parent a474a28 commit 64ab365
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/cc-zone/cc-zone.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import '../cc-flex-gap/cc-flex-gap.js';
import '../cc-img/cc-img.js';
import { css, html, LitElement } from 'lit';
import { classMap } from 'lit/directives/class-map.js';
Expand Down Expand Up @@ -100,9 +99,9 @@ export class CcZone extends LitElement {
<cc-img class="infra-logo" src=${getInfraProviderLogoUrl(infra)} text=${infra}></cc-img>
` : ''}
</div>
<cc-flex-gap class="tag-list">
<div class="tag-list">
${zone.tags.map((t) => html`<span class="tag ${classMap({ skeleton })}">${t}</span>`)}
</cc-flex-gap>
</div>
</div>
`;
}
Expand Down Expand Up @@ -183,10 +182,14 @@ export class CcZone extends LitElement {
}
.tag-list {
--cc-gap: 0.5em;
display: flex;
flex-wrap: wrap;
margin-top: 0.1em;
gap: 0.5em;
}
.tag {
display: flex;
box-sizing: border-box;
padding: 0.1em 0.3em;
border: 1px solid var(--cc-zone-tag-bdcolor, transparent);
Expand Down

0 comments on commit 64ab365

Please sign in to comment.