delete fixes of sticky header of one-dark-ui

This commit is contained in:
Sebastian Balcerowiak 2023-06-18 23:44:33 +02:00
parent ec5fdc6c2b
commit 0043ef7e5b

View File

@ -126,31 +126,5 @@
&:focus .selected .project-root-header.project-root-header {
background: @button-background-color-selected;
}
// Fix sticky header from covering auto-revealed files
.entry.file.selected {
padding-top: @ui-tab-height;
margin-top: -@ui-tab-height;
}
// Fix sticky header from covering auto-revealed directories when using up/down keys
// for directories, scroll test moves to .header, see https://github.com/atom/tree-view/blob/d2857ad4d7eeb7dad5cf94b33257a8740211480e/lib/tree-view.coffee#L839
.entry.directory.selected:not(.project-root) {
& > .header {
padding-top: @ui-tab-height;
margin-top: -@ui-tab-height;
}
&::before {
margin-top: @ui-tab-height;
}
}
// Fix above directory is not being clickable
.entry.directory:not(.project-root) > .header {
z-index: 2;
}
.entry.directory.selected:not(.project-root) > .header {
z-index: 1;
}
}
}