3
0

Add ability to toggle block border

This commit is contained in:
Jože Fortun
2023-02-09 13:09:15 +01:00
parent 3af167c1d6
commit ee392ecf16
7 changed files with 23 additions and 4 deletions

View File

@@ -96,6 +96,13 @@
>
{{ $t('general.wrap') }}
</b-form-checkbox>
<b-form-checkbox
v-model="block.style.border.enabled"
switch
>
{{ $t('general.border.show') }}
</b-form-checkbox>
</b-col>
<b-col

View File

@@ -2,7 +2,7 @@
<div class="h-100">
<b-card
no-body
class="h-100 border-0 shadow"
class="h-100 shadow"
:class="blockClass"
>
<b-card-header

View File

@@ -1,7 +1,7 @@
<template>
<div class="h-100">
<div
class="d-flex flex-column border position-relative h-100 card bg-transparent"
class="card bg-transparent h-100"
:class="blockClass"
>
<div

View File

@@ -22,6 +22,7 @@ export default {
blockClass () {
return [
'block',
{ border: this.block.style.border.enabled },
this.block.kind,
]
},