Refactoring drag items
This commit is contained in:
@@ -44,5 +44,10 @@
|
||||
.wrapper {
|
||||
padding: 2px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
:global(> button) {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
disabled={widget.attrs.disabled}
|
||||
lines={node.properties.multiline ? 5 : 1}
|
||||
max_lines={node.properties.multiline ? 5 : 1}
|
||||
show_label={true}
|
||||
show_label={widget.attrs.title !== ""}
|
||||
on:change
|
||||
on:submit
|
||||
on:blur
|
||||
@@ -49,4 +49,8 @@
|
||||
padding: 2px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
:global(span.hide) {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user