enhance(ui): alignment for the block positioned icons

This commit is contained in:
charlie
2024-06-04 10:35:48 +08:00
parent 13066001cd
commit 3c1299c20a

View File

@@ -413,18 +413,36 @@
.block-control-wrap {
@apply relative top-4;
}
.block-content-or-editor-wrap {
.positioned-properties {
@apply relative top-4;
}
}
}
&:has(h2.as-heading) {
.block-control-wrap {
@apply relative top-3;
}
.block-content-or-editor-wrap {
.positioned-properties {
@apply relative top-3;
}
}
}
&:has(h3.as-heading) {
.block-control-wrap {
@apply relative top-[3px];
}
.block-content-or-editor-wrap {
.positioned-properties {
@apply relative top-1;
}
}
}
&:has(h5.as-heading) {