add diffent border color on the root block of the builder
add default class in blocks
This commit is contained in:
parent
8044ff3605
commit
4eb13a4022
|
@ -6,7 +6,7 @@ abstract class BuilderBlock
|
|||
{
|
||||
protected string $name;
|
||||
protected string $label;
|
||||
protected ?string $class = null;
|
||||
protected ?string $class = 'col-12';
|
||||
protected ?string $category = null;
|
||||
protected array $settings = [];
|
||||
protected array $widgets = [];
|
||||
|
|
|
@ -27,8 +27,6 @@ class BuilderType extends AbstractType
|
|||
parent::configureOptions($resolver);
|
||||
|
||||
$resolver->setDefaults([
|
||||
'allow_add' => true,
|
||||
'allow_remove' => true,
|
||||
'compound' => false,
|
||||
]);
|
||||
}
|
||||
|
|
|
@ -769,6 +769,10 @@ label.required::after {
|
|||
background: rgba(map-get($theme-colors, 'dark-blue'), 0.02);
|
||||
}
|
||||
|
||||
> .block {
|
||||
border: 1px solid map-get($theme-colors, 'dark-blue');
|
||||
}
|
||||
|
||||
.block-header {
|
||||
.block-header-item {
|
||||
font-size: 12px;
|
||||
|
|
Loading…
Reference in a new issue