Merge branch 'master' into feat/binary-response

This commit is contained in:
Andrew Bastin
2020-07-05 19:07:27 -04:00
committed by GitHub
3 changed files with 13 additions and 3 deletions

View File

@@ -27,7 +27,7 @@
<style scoped lang="scss">
.virtual-list {
max-height: calc(100vh - 294px);
max-height: calc(100vh - 298px);
}
ul,

View File

@@ -25,7 +25,7 @@ export default {
// computed: {
// href() {
// return `#${this.name.toLowerCase().replace(/ /g, "-")}`
// return `#${this.label.toLowerCase().replace(/ /g, "-")}`
// },
// },

View File

@@ -2,7 +2,13 @@
<div class="tabs-wrapper">
<div class="tabs">
<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)">
<i v-if="tab.icon" class="material-icons">
{{ tab.icon }}
@@ -57,6 +63,10 @@
}
}
&:focus a {
color: var(--fg-color);
}
&.is-active a {
background-color: var(--brd-color);
color: var(--fg-color);