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>' +
'<div class="hedset">' + '<div class="hedset">' +
'<div class="btn-slot" id="slot-btn-user-name"></div>' + '<div class="btn-slot" id="slot-btn-user-name"></div>' +
'<div class="btn-current-user btn-header hidden">' + '<div class="btn-slot">' +
'<i class="icon toolbar__icon icon--inverse btn-user"></i>' + '<div class="btn-current-user btn-header hidden">' +
'</div>' + '<i class="icon toolbar__icon icon--inverse btn-user"></i>' +
'</div>' +
'</div>'
'</div>' + '</div>' +
'</section>' + '</section>' +
'</section>'; '</section>';

View file

@ -1,6 +1,19 @@
.winxp { .winxp {
.toolbar .tabs>ul, @toolbar-editor-height: 28px;
.toolbar .extra .btn-slot,#box-document-title .btn-slot { @toolbar-viewer-height: 32px;
height:28px; .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;
}
} }