This commit is contained in:
syuilo 2021-09-21 04:09:28 +09:00
parent bf2460d5d3
commit 653544c657
4 changed files with 14 additions and 8 deletions

View file

@ -108,12 +108,12 @@ export default defineComponent({
margin: 8px 8px 0 0;
padding: 4px 8px;
font-size: 0.9em;
background: var(--panel);
border: solid 0.5px var(--divider);
background: var(--accentedBg);
border-radius: 5px;
&.active {
border-color: var(--accent);
background: var(--accent);
color: var(--fgOnAccent);
}
}
}

View file

@ -1,5 +1,7 @@
<template>
<XCategory v-if="tab === 'category'"/>
<div :class="$style.root">
<XCategory v-if="tab === 'category'"/>
</div>
</template>
<script lang="ts">
@ -26,5 +28,9 @@ export default defineComponent({
});
</script>
<style lang="scss" scoped>
<style lang="scss" module>
.root {
max-width: 1000px;
margin: 0 auto;
}
</style>

View file

@ -393,7 +393,7 @@ export default defineComponent({
&:before {
content: "";
display: block;
width: calc(100% - 20px);
width: calc(100% - 24px);
height: 100%;
margin: auto;
position: absolute;

View file

@ -312,8 +312,8 @@ export default defineComponent({
> .widgets {
padding: 0 var(--margin);
//border-left: solid 0.5px var(--divider);
background: var(--navBg);
border-left: solid 0.5px var(--divider);
background: var(--bg);
@media (max-width: $widgets-hide-threshold) {
display: none;