feat: remove gantt-chart wrapper

This commit is contained in:
Dominik Pschenitschni 2022-10-19 15:18:54 +02:00 committed by kolaente
parent a70a2e3ba6
commit aefda38bdd
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -1,5 +1,4 @@
<template> <template>
<div>
<Loading <Loading
v-if="props.isLoading && tasks.size || dayjsLanguageLoading" v-if="props.isLoading && tasks.size || dayjsLanguageLoading"
class="gantt-container" class="gantt-container"
@ -36,7 +35,6 @@
/> />
</GGanttChart> </GGanttChart>
</div> </div>
</div>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -181,7 +179,7 @@ function dayIsToday(label: string): boolean {
<style lang="scss"> <style lang="scss">
// Not scoped because we need to style the elements inside the gantt chart component // Not scoped because we need to style the elements inside the gantt chart component
.g-gantt-chart { .g-gantt-chart {
width: 2000px; width: max-content;
} }
.g-gantt-row-label { .g-gantt-row-label {