admin bar chart fix

This commit is contained in:
Čarodej
2022-01-12 16:11:51 +01:00
parent 4feba76f57
commit d498446911
5 changed files with 46 additions and 20 deletions

View File

@@ -9,9 +9,9 @@
</span>
<!--Ghost bar-->
<div v-if="ghostLength >= 1">
<div v-if="ghostLength > 0">
<span
class="md:w-2 w-1 block rounded-lg lg:mr-2 mr-1.5 bg-gray-100"
class="2xl:w-3 md:w-2 w-1 block rounded-lg lg:mr-2 mr-1.5 bg-gray-100"
v-for="(ghost, i) in ghostLength"
:style="{height: '5%'}"
:key="i">
@@ -28,7 +28,7 @@ export default {
],
computed: {
ghostLength() {
return 65 - this.data.length
return 45 - this.data.length
}
}
}