Skip to content

Commit e0db2d7

Browse files
committed
Hide Hourly chart description and graph elements, adjust spacing
1 parent 826bc55 commit e0db2d7

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

dist/dark.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dashboard.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/dashboard.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Dashboad.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,9 @@ async function openChart(type: TypeOfChart) {
123123
124124
.tab-items {
125125
width: 80%;
126-
margin-top: 100px;
127-
}
128-
.chartByHours {
129-
height: 390px;
126+
margin-top: 10px;
130127
}
128+
/* .chartByHours height removed */
131129
.chart-btn {
132130
background-color: rgb(192, 192, 192);
133131
color: #fff;

src/components/HourlyChart.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<template>
2-
<p class="description">{{ t('timeChartDescription.message') }}</p>
3-
<Bar :data="data" :options="options" v-if="isLoaded" />
2+
<!-- Elements are not rendered at all -->
3+
<!-- <p class="description">{{ t('timeChartDescription.message') }}</p> -->
4+
<!-- <Bar :data="data" :options="options" v-if="isLoaded" /> -->
45
</template>
56

67
<script lang="ts">
78
export default {
8-
name: 'HourlyChart',
9+
name: 'HourlyChart'
910
};
1011
</script>
1112

0 commit comments

Comments
 (0)