Add ability to toggle block border
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -22,6 +22,7 @@ export default {
|
||||
blockClass () {
|
||||
return [
|
||||
'block',
|
||||
{ border: this.block.style.border.enabled },
|
||||
this.block.kind,
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user