projects : prepare empty state
This commit is contained in:
parent
62a159fa9b
commit
b76c62fa70
2 changed files with 32 additions and 33 deletions
|
|
@ -4,12 +4,12 @@
|
|||
<button
|
||||
v-for="tab in tabs"
|
||||
:key="tab.label"
|
||||
:id="slugify(tab.label, {lower: true}) + '-label'"
|
||||
:id="slugify(tab.label, { lower: true }) + '-label'"
|
||||
type="button"
|
||||
role="tab"
|
||||
:data-icon="tab.icon ?? null"
|
||||
:aria-selected="tab.isActive"
|
||||
:aria-controls="slugify(tab.label, {lower: true})"
|
||||
:aria-controls="slugify(tab.label, { lower: true })"
|
||||
:tabindex="tab.isActive ? '-1' : null"
|
||||
@click="changeTab(tab.id)"
|
||||
>
|
||||
|
|
@ -107,7 +107,6 @@ function changeTab(tabId) {
|
|||
--icon-color: var(--color-brand);
|
||||
}
|
||||
|
||||
|
||||
[role="tabpanel"] {
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue