fixed build-server-stats for mobile

This commit is contained in:
2024-01-25 21:42:02 +01:00
parent 57ecf6e950
commit 2257072d97

View File

@@ -2,9 +2,15 @@
<v-sheet class="mt-6" color="transparent"> <v-sheet class="mt-6" color="transparent">
<h5 class="text-h5">Buildserver Stats</h5> <h5 class="text-h5">Buildserver Stats</h5>
<iframe <iframe
:height="width <= 800 ? '1050px' : '420px'"
allowtransparency="true" allowtransparency="true"
class="w-100 border-0" class="w-100 border-0"
height="420px"
src="https://stats.itsh.dev/public-dashboards/0fb04abb0c5e4b7390cf26a98e6dead1"></iframe> src="https://stats.itsh.dev/public-dashboards/0fb04abb0c5e4b7390cf26a98e6dead1"></iframe>
</v-sheet> </v-sheet>
</template> </template>
<script lang="ts" setup>
import { useDisplay } from 'vuetify'
const { width } = useDisplay()
</script>