Prevent a cramped-up revision history sidebar
This commit is contained in:
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…
x
Reference in New Issue
Block a user