Added special suppitem case (fix #8)
All checks were successful
pipeline / build-and-push-images (push) Successful in 32s
pipeline / deploy (push) Successful in 6s

This commit is contained in:
2024-12-05 00:29:11 +01:00
parent 67d6dd5a1a
commit b181ec2f82
4 changed files with 34 additions and 8 deletions

View File

@@ -1,12 +1,13 @@
<script lang="ts" setup>
defineProps<{
title: string,
bootsFirst?: number
bootsFirst?: number,
sizePerc?: number
}>()
</script>
<template>
<div class="item-box">
<div :style="(sizePerc != undefined && sizePerc != null) ? 'max-height: ' + (sizePerc * 600) + 'px;' : ''" class="item-box">
<div style="display:flex; flex-direction: column; justify-content: center; align-items: center;">
<h2 class="item-box-title">{{ title }}</h2>
<h5 v-if="bootsFirst != undefined && bootsFirst != null"