Merge pull request #4126 from nextcloud/better-empty-content-in-the-sidebar

Better styling of the empty content messages in the sidebar
This commit is contained in:
Morris Jobke 2017-03-28 17:50:10 -06:00 committed by GitHub
commit 9e1fdf4da5
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;
}