Merge branch 'master' into feat/binary-response
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.virtual-list {
|
.virtual-list {
|
||||||
max-height: calc(100vh - 294px);
|
max-height: calc(100vh - 298px);
|
||||||
}
|
}
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export default {
|
|||||||
|
|
||||||
// computed: {
|
// computed: {
|
||||||
// href() {
|
// href() {
|
||||||
// return `#${this.name.toLowerCase().replace(/ /g, "-")}`
|
// return `#${this.label.toLowerCase().replace(/ /g, "-")}`
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,13 @@
|
|||||||
<div class="tabs-wrapper">
|
<div class="tabs-wrapper">
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(tab, index) in tabs" :class="{ 'is-active': tab.isActive }" :key="index">
|
<li
|
||||||
|
v-for="(tab, index) in tabs"
|
||||||
|
:class="{ 'is-active': tab.isActive }"
|
||||||
|
:key="index"
|
||||||
|
:tabindex="0"
|
||||||
|
@keyup.enter="selectTab(tab)"
|
||||||
|
>
|
||||||
<a :href="tab.href" @click="selectTab(tab)">
|
<a :href="tab.href" @click="selectTab(tab)">
|
||||||
<i v-if="tab.icon" class="material-icons">
|
<i v-if="tab.icon" class="material-icons">
|
||||||
{{ tab.icon }}
|
{{ tab.icon }}
|
||||||
@@ -57,6 +63,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:focus a {
|
||||||
|
color: var(--fg-color);
|
||||||
|
}
|
||||||
|
|
||||||
&.is-active a {
|
&.is-active a {
|
||||||
background-color: var(--brd-color);
|
background-color: var(--brd-color);
|
||||||
color: var(--fg-color);
|
color: var(--fg-color);
|
||||||
|
|||||||
Reference in New Issue
Block a user