fix: SDA-2080 (Fix a target CSS issue with SFE-Lite & fix title bar button issue in 9.x) (#999)

* SDA-2080 - Target jss class name instead of dev defined

* SDA-2080 - Fix title bar issue with 9.x
This commit is contained in:
Kiran Niranjan 2020-05-20 13:29:40 +05:30 committed by GitHub
parent 5983b090e2
commit d5e01d08f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -257,7 +257,7 @@ export default class WindowsTitleBar extends React.Component<{}, IState> {
private updateTitleBar(): void { private updateTitleBar(): void {
const { isFullScreen, titleBarHeight } = this.state; const { isFullScreen, titleBarHeight } = this.state;
const contentWrapper = document.getElementById('content-wrapper'); const contentWrapper = document.getElementById('content-wrapper');
const appView = document.getElementsByClassName('AppView-root-3')[0] as HTMLElement; const appView = document.getElementsByClassName('jss3')[0] as HTMLElement;
const root = document.getElementById('root'); const root = document.getElementById('root');
const railContainer = document.getElementsByClassName('ReactRail-container-2')[0] as HTMLElement; const railContainer = document.getElementsByClassName('ReactRail-container-2')[0] as HTMLElement;
const railList = document.getElementsByClassName('railList')[0] as HTMLElement; const railList = document.getElementsByClassName('railList')[0] as HTMLElement;

View File

@ -89,6 +89,7 @@
border-radius: 0; border-radius: 0;
padding: 10px 15px; padding: 10px 15px;
cursor: default; cursor: default;
align-content: center;
&:hover { &:hover {
background-color: @background_color_1; background-color: @background_color_1;