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{ #revViewerContainer{
position: absolute; position: absolute;
width: 85%; width: 100%;
z-index: 600; z-index: 600;
background-color: #ddd !important; background-color: #ddd !important;
top: 45px; top: 45px;
bottom: 0; bottom: 0;
} }
#revViewer{
position: relative;
margin-right: 250px;
height: 100%;
}
#revPanelContainer{ #revPanelContainer{
position: absolute; position: fixed;
width: 15%; width: 250px;
z-index: 600; z-index: 600;
background-color: #efefef !important; background-color: #efefef !important;
right: 0; right: 0;

View File

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