Document title improvement. Closes #37

This commit is contained in:
Victor Dubiniuk 2013-09-13 13:59:55 +03:00
parent 8462bf2a8f
commit a825614bc7
2 changed files with 9 additions and 6 deletions

View File

@ -91,14 +91,17 @@
} }
#document-title{ #document-title{
position: relative; position: absolute;
top: 6px; top: 6px;
width:50%; left:50%;
margin:0 auto -14px auto; margin:0;
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
} }
#document-title div{
position: relative;
margin-left:-50%;
}
#odf-close{ #odf-close{
float: right; float: right;
} }

View File

@ -44,9 +44,9 @@ var documentsMain = {
' <button id="odf-close">' + ' <button id="odf-close">' +
t('documents', 'Close') + t('documents', 'Close') +
' </button>' + ' </button>' +
'<div id="document-title">' + '<div id="document-title"><div>' +
documentsMain.documentTitle + documentsMain.documentTitle +
'</div>' + '</div></div>' +
' <button id="odf-invite">' + ' <button id="odf-invite">' +
t('documents', 'Invite') + t('documents', 'Invite') +
' </button>' + ' </button>' +