mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
fix(ui): alignments for the bullet whithin the heading block
This commit is contained in:
@@ -228,8 +228,12 @@
|
||||
@apply flex flex-1;
|
||||
}
|
||||
|
||||
&:has(.dsl-query) {
|
||||
&:has(.dsl-query), &:has(.embed-page) {
|
||||
@apply flex flex-row w-full;
|
||||
|
||||
> .embed-page {
|
||||
@apply w-full;
|
||||
}
|
||||
}
|
||||
|
||||
.dsl-query {
|
||||
@@ -409,8 +413,8 @@
|
||||
.block-main-container {
|
||||
@apply min-h-[24px];
|
||||
|
||||
&:has(h1.as-heading), &:has(textarea.h1) {
|
||||
.block-control-wrap {
|
||||
&[data-has-heading="1"], &:has(textarea.h1) {
|
||||
> .block-control-wrap {
|
||||
@apply relative top-4;
|
||||
}
|
||||
|
||||
@@ -421,8 +425,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
&:has(h2.as-heading), &:has(textarea.h2) {
|
||||
.block-control-wrap {
|
||||
&[data-has-heading="2"], &:has(textarea.h2) {
|
||||
> .block-control-wrap {
|
||||
@apply relative top-3;
|
||||
}
|
||||
|
||||
@@ -433,8 +437,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
&:has(h3.as-heading), &:has(textarea.h3) {
|
||||
.block-control-wrap {
|
||||
&[data-has-heading="3"], &:has(textarea.h3) {
|
||||
> .block-control-wrap {
|
||||
@apply relative top-[2px];
|
||||
}
|
||||
|
||||
@@ -445,13 +449,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
&:has(h5.as-heading) {
|
||||
.block-control-wrap {
|
||||
&[data-has-heading="5"] {
|
||||
> .block-control-wrap {
|
||||
@apply relative -top-[1px];
|
||||
}
|
||||
}
|
||||
|
||||
&:has(h6.as-heading), &:has(textarea.h6) {
|
||||
&[data-has-heading="6"], &:has(textarea.h6) {
|
||||
h6.as-heading, textarea.h6 {
|
||||
@apply pt-1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user