Skip to content

Commit

Permalink
Added:
Browse files Browse the repository at this point in the history
- ground parameter to app-section wich disables default styles and set only background on <section>
  • Loading branch information
MarcelGeo committed Dec 8, 2023
1 parent a0c2f71 commit f1da30e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions web-app/packages/lib/src/common/components/AppSection.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<template>
<section class="surface-section border-round-2xl overflow-hidden">
<section
:class="[
ground
? 'surface-ground'
: 'surface-section border-round-2xl overflow-hidden'
]"
>
<header
v-if="!!$slots.title"
class="flex justify-content-between align-items-center p-4"
Expand All @@ -11,6 +17,10 @@
</section>
</template>

<script lang="ts" setup></script>
<script lang="ts" setup>
withDefaults(defineProps<{ ground: boolean }>(), {
ground: false
})
</script>

<style scoped lang="scss"></style>

0 comments on commit f1da30e

Please sign in to comment.