Better styling of the empty content messages in the sidebar
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
e26f138fc5
commit
b91bacf141
|
@ -68,7 +68,3 @@
|
||||||
float: right;
|
float: right;
|
||||||
margin-right: -10px;
|
margin-right: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.versionsTabView .emptycontent {
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
|
@ -232,8 +232,8 @@
|
||||||
*/
|
*/
|
||||||
render: function() {
|
render: function() {
|
||||||
this.$el.html(this.template({
|
this.$el.html(this.template({
|
||||||
emptyResultLabel: t('files_versions', 'No versions available'),
|
emptyResultLabel: t('files_versions', 'No earlier versions available'),
|
||||||
moreVersionsLabel: t('files_versions', 'More versions...')
|
moreVersionsLabel: t('files_versions', 'More versions …')
|
||||||
}));
|
}));
|
||||||
this.$el.find('.has-tooltip').tooltip();
|
this.$el.find('.has-tooltip').tooltip();
|
||||||
this.$versionsContainer = this.$el.find('ul.versions');
|
this.$versionsContainer = this.$el.find('ul.versions');
|
||||||
|
|
|
@ -308,6 +308,10 @@ body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#app-sidebar #emptycontent, #app-sidebar .emptycontent {
|
||||||
|
margin-top: 10vh;
|
||||||
|
}
|
||||||
|
|
||||||
#emptycontent.emptycontent-search, .emptycontent.emptycontent-search {
|
#emptycontent.emptycontent-search, .emptycontent.emptycontent-search {
|
||||||
position: static;
|
position: static;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue