mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
delete fixes of sticky header of one-dark-ui
This commit is contained in:
parent
ec5fdc6c2b
commit
0043ef7e5b
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user