Better styling of the empty content messages in the sidebar

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2017-03-28 23:26:10 +02:00
parent e26f138fc5
commit b91bacf141
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
3 changed files with 6 additions and 6 deletions

View File

@ -68,7 +68,3 @@
float: right;
margin-right: -10px;
}
.versionsTabView .emptycontent {
margin-top: 10px;
}

View File

@ -232,8 +232,8 @@
*/
render: function() {
this.$el.html(this.template({
emptyResultLabel: t('files_versions', 'No versions available'),
moreVersionsLabel: t('files_versions', 'More versions...')
emptyResultLabel: t('files_versions', 'No earlier versions available'),
moreVersionsLabel: t('files_versions', 'More versions')
}));
this.$el.find('.has-tooltip').tooltip();
this.$versionsContainer = this.$el.find('ul.versions');

View File

@ -308,6 +308,10 @@ body {
width: 100%;
}
#app-sidebar #emptycontent, #app-sidebar .emptycontent {
margin-top: 10vh;
}
#emptycontent.emptycontent-search, .emptycontent.emptycontent-search {
position: static;
}