Config schema and docs text changes. Fix clickable tab area in dashboard/docs.

This commit is contained in:
Dragory 2019-10-11 02:09:31 +03:00
parent f41d280fab
commit 0bbe9433c1
5 changed files with 35 additions and 8 deletions

View file

@ -1,9 +1,36 @@
<template>
<li class="py-2 px-4 hover:text-gray-200" :class="{'pb-1 border-b border-gray-400 text-gray-200': active, 'text-gray-500': !active}">
<li style="padding-bottom: 1px" :class="{active: active}">
<slot></slot>
</li>
</template>
<style scoped>
li {
padding-bottom: 1px;
&.active {
padding-bottom: 0;
@apply border-b;
@apply border-gray-400;
}
}
a {
@apply block;
@apply py-2;
@apply px-4;
@apply text-gray-500;
&:hover {
@apply text-gray-200;
}
}
.active a {
@apply text-gray-200;
}
</style>
<script lang="ts">
export default {
props: ["active"],