mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-19 15:31:19 +02:00
Fix fold gutter icon direction
This commit is contained in:
@@ -132,16 +132,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cm-editor .fold-gutter-icon::after {
|
.cm-editor .fold-gutter-icon::after {
|
||||||
@apply block w-1.5 h-1.5 border-transparent -rotate-45
|
@apply block w-1.5 h-1.5 p-0.5 border-transparent
|
||||||
border-l border-b border-l-[currentColor] border-b-[currentColor] content-[''];
|
border-l border-b border-l-[currentColor] border-b-[currentColor] content-[''];
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-editor .fold-gutter-icon[data-open] {
|
/* Rotate the fold gutter chevron when open */
|
||||||
@apply pt-[0.38em] pl-[0.3em];
|
.cm-editor .fold-gutter-icon[data-open]::after {
|
||||||
|
@apply rotate-[-45deg];
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-editor .fold-gutter-icon[data-open]::after {
|
/* Adjust fold gutter icon position after rotation */
|
||||||
@apply rotate-[-135deg];
|
.cm-editor .fold-gutter-icon:not([data-open])::after {
|
||||||
|
@apply relative -left-[0.1em] top-[0.1em] rotate-[-135deg];
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-editor .fold-gutter-icon:hover {
|
.cm-editor .fold-gutter-icon:hover {
|
||||||
|
|||||||
Reference in New Issue
Block a user