change padding to userfriendlier size on phone close #23
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user