From 9ef49d48f8bb8b55286b2ff73509152ae3eb4fd1 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Mon, 2 Dec 2013 16:14:56 +0300 Subject: [PATCH] Center No documents message. Fixes #141 --- css/style.css | 7 ------- js/documents.js | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/css/style.css b/css/style.css index 0af1ee83..5146f731 100755 --- a/css/style.css +++ b/css/style.css @@ -2,13 +2,6 @@ background-color: #fff; } -#documents-content #emptyfolder { - position: static; - margin:0; - text-align:center; - font-size:1.5em; font-weight:bold; color:#888; text-shadow:#fff 0 1px 0; -} - .documentslist { padding:5px; } .documentslist .document, diff --git a/js/documents.js b/js/documents.js index ff7d4000..60ad9bfa 100644 --- a/js/documents.js +++ b/js/documents.js @@ -371,12 +371,12 @@ var documentsMain = { }); if (!hasDocuments){ - $('#documents-content').append('
' + $('#documents-content').append('
' + t('documents', 'No documents are found. Please upload or create a document!') + '
' ); } else { - $('#emptyfolder').remove(); + $('#emptycontent').remove(); } } };