Prevent a cramped-up revision history sidebar

pull/1/head
Pranav Kant 8 years ago
parent 4024877073
commit 05e6ed7e0e

@ -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;

@ -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;

Loading…
Cancel
Save