Vanessa 2025-06-07 11:45:30 +08:00
parent 81d245877a
commit cb5c8a37ff
3 changed files with 17 additions and 12 deletions

View file

@ -305,18 +305,16 @@
color: var(--b3-theme-on-surface);
margin-top: -4px;
align-self: center;
margin-left: 1em;
opacity: 0;
transition: var(--b3-transition);
line-height: calc(1.625 / 0.85);
}
.protyle-icon {
opacity: 0;
transition: var(--b3-transition);
}
.protyle-action__language {
margin-left: 1em;
opacity: 0;
transition: var(--b3-transition);
}
}
&:hover .protyle-icon,

View file

@ -116,12 +116,15 @@
padding: 0;
display: flex;
flex-direction: column;
min-height: calc(1.625em + 8px);
&::before {
content: "";
position: absolute;
border-left: .5px solid var(--b3-theme-background-light);
left: 17px;
height: calc(100% - 1em * 1.625 - 12px);
top: calc(1em * 1.625 + 12px);
}
&:hover::before {
@ -174,6 +177,16 @@
display: flex;
align-items: center;
word-break: keep-all;
height: calc(1.625em + 8px);
line-height: calc(1.625em + 8px);
& ~ [data-type="NodeHeading"] {
line-height: 1em;
& > [spellcheck] {
min-height: 1em;
}
}
&::after {
content: "";