Merge pull request #1602 from ONLYOFFICE/feature/fix-header-markup-for-xp

[all] fix markup for win xp
This commit is contained in:
maxkadushkin 2022-03-01 15:37:42 +03:00 committed by GitHub
commit 9ced8e6376
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 6 deletions

View file

@ -104,9 +104,11 @@ define([
'</div>' +
'<div class="hedset">' +
'<div class="btn-slot" id="slot-btn-user-name"></div>' +
'<div class="btn-current-user btn-header hidden">' +
'<i class="icon toolbar__icon icon--inverse btn-user"></i>' +
'</div>' +
'<div class="btn-slot">' +
'<div class="btn-current-user btn-header hidden">' +
'<i class="icon toolbar__icon icon--inverse btn-user"></i>' +
'</div>' +
'</div>'
'</div>' +
'</section>' +
'</section>';

View file

@ -1,6 +1,19 @@
.winxp {
.toolbar .tabs>ul,
.toolbar .extra .btn-slot,#box-document-title .btn-slot {
height:28px;
@toolbar-editor-height: 28px;
@toolbar-viewer-height: 32px;
.toolbar {
.tabs > ul, .extra .btn-slot {
height: @toolbar-editor-height;
}
&.toolbar-view {
.tabs > ul, .extra .btn-slot {
height: @toolbar-viewer-height;
}
}
}
#box-document-title .btn-slot {
height: @toolbar-editor-height;
}
}