Prevent a cramped-up revision history sidebar

This commit is contained in:
Pranav Kant 2016-11-28 12:46:19 +05:30
parent 4024877073
commit 05e6ed7e0e
2 changed files with 10 additions and 4 deletions

View File

@ -182,16 +182,22 @@
#revViewerContainer{
position: absolute;
width: 85%;
width: 100%;
z-index: 600;
background-color: #ddd !important;
top: 45px;
bottom: 0;
}
#revViewer{
position: relative;
margin-right: 250px;
height: 100%;
}
#revPanelContainer{
position: absolute;
width: 15%;
position: fixed;
width: 250px;
z-index: 600;
background-color: #efefef !important;
right: 0;

View File

@ -343,7 +343,7 @@ var documentsMain = {
moreVersionsLabel: t('richdocuments', 'More versions...'),
closeButtonUrl: OC.imagePath('core', 'actions/close')
});
$(document.body).prepend(revHistoryContainer);
$('#revViewerContainer').prepend(revHistoryContainer);
documentsMain.UI.revisionsStart = 0;