Enable history in readonly mode

This commit is contained in:
yflory 2020-09-30 17:27:54 +02:00
parent a945206060
commit 014d968b37
4 changed files with 9 additions and 3 deletions

View File

@ -198,7 +198,7 @@
background-color: @alertify-light-bg;
}
&.disabled {
color: #949494;
color: @colortheme_alertify-cancel-border;
cursor: not-allowed;
}
}

View File

@ -89,6 +89,13 @@
.fa:not(:last-child) {
margin-right: 5px;
}
&:disabled {
cursor: not-allowed !important;
opacity: 0.6;
&:hover, &:active {
background-color: transparent;
}
}
}
}

View File

@ -923,7 +923,7 @@
width: 30px;
}
}
@media screen and (max-width: 600px) {
@media screen and (max-width: @browser_media-medium-screen) {
flex-flow: column;
.cp-toolbar-snapshots-info {
max-width: 100%;

View File

@ -817,7 +817,6 @@ define([
$toolbar: $(toolbarContainer)
};
var $hist = common.createButton('history', true, {histConfig: histConfig});
$hist.addClass('cp-hidden-if-readonly');
toolbar.$drawer.append($hist);
var $snapshot = common.createButton('snapshots', true, {