change padding to userfriendlier size on phone close #23

This commit is contained in:
Adrian Zürcher
2025-11-16 08:42:28 +01:00
parent dce451bfc2
commit 5c15fb5599
8 changed files with 325 additions and 306 deletions

View File

@@ -25,7 +25,7 @@
<q-separator color="black" />
<!-- Content Slot -->
<div class="scrollArea">
<div class="scrollArea" :style="'padding: ' + props.innerPadding + 'px'">
<slot />
</div>
@@ -48,6 +48,7 @@ const props = defineProps({
headerTitle: { type: String, default: '' },
width: { type: Number, default: 400 },
height: { type: Number, default: 250 },
innerPadding: { type: Number, default: 16 },
});
// Fullscreen toggle
@@ -153,7 +154,6 @@ const cardStyle = computed(() => {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding: 16px;
}
/* Resize handle in bottom right */