* Fixes #129180
* Fix large scrollable element in settings editor having double shadow
This commit is contained in:
Raymond Zhao 2021-07-23 09:34:23 -07:00 committed by GitHub
parent 8a4ace6ebf
commit 58c59316f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,17 +162,16 @@
display: none !important;
}
.settings-editor.mid-width > .settings-body > .settings-tree-container .shadow.top {
.settings-editor.mid-width > .settings-body > .settings-tree-container .settings-editor-tree > .monaco-scrollable-element > .shadow.top {
left: 0;
width: calc(100% - 48px);
margin-left: 24px;
}
.settings-editor > .settings-body > .settings-tree-container .shadow.top {
left: 50%;
max-width: 952px;
/* 1000 - 24*2 padding */
margin-left: -476px;
.settings-editor.mid-width > .settings-body > .settings-tree-container .settings-editor-tree > .monaco-scrollable-element > .shadow.top.top-left-corner {
width: 24px;
margin-left: 0px;
}
.settings-editor > .settings-body > .settings-tree-container .settings-editor-tree > .monaco-scrollable-element > .shadow.top {
z-index: 11;
}