[Header] Fix hover when canRename = false

This commit is contained in:
Julia Radzhabova 2022-05-11 13:51:36 +03:00
parent 2d167d2405
commit 1d126c12c6
2 changed files with 1 additions and 4 deletions

View file

@ -708,7 +708,6 @@ define([
},
setCanRename: function (rename) {
//rename = true; //comment out for merge
var me = this;
me.options.canRename = rename;
if ( me.labelDocName ) {

View file

@ -115,7 +115,7 @@
cursor: default;
line-height: 24px;
&:hover,&:focus {
&:hover:not(:disabled),&:focus {
box-shadow: 0 0 0 1px @highlight-header-button-hover-ie;
box-shadow: 0 0 0 1px @highlight-header-button-hover;
border-radius: 1px;
@ -517,8 +517,6 @@
&:hover:not(:disabled),&:focus{
box-shadow: 0 0 0 1px @highlight-header-button-hover-ie;
box-shadow: 0 0 0 1px @highlight-header-button-hover;
/*border:@highlight-header-button-hover-ie solid 1px;
border:@highlight-header-button-hover solid 1px;*/
border-radius: 1px;
cursor: text;
}