Skip to content

Commit

Permalink
oh-card: Fix contentStyle prop not respected
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 committed Oct 1, 2024
1 parent 9143386 commit 5ae6cf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</f7-card-header>
</slot>
<slot name="content-root">
<f7-card-content @click.native="performAction" :style="config.contentStyle" :class="[ ...(Array.isArray(contentClass) ? contentClass : ['padding']), ...(Array.isArray(config.contentClass) ? config.contentClass : []) ]">
<f7-card-content @click.native="performAction" :style="{ ...contentStyle, ...config.contentStyle}" :class="[ ...(Array.isArray(contentClass) ? contentClass : ['padding']), ...(Array.isArray(config.contentClass) ? config.contentClass : []) ]">
<slot name="content" />
</f7-card-content>
</slot>
Expand Down

0 comments on commit 5ae6cf5

Please sign in to comment.