diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-03-28 17:50:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-28 17:50:10 -0600 |
commit | 9e1fdf4da55303baba28138189e05d47aea04ed3 (patch) | |
tree | cb9ccca705bb061dc30d518cecfdf1fc585a845b | |
parent | dbf6b7ff8623c1d8fcc98398d2a7415ffb7b2a68 (diff) | |
parent | b91bacf14169defe293eae8d4b225f2923d2b4f4 (diff) | |
download | nextcloud-server-9e1fdf4da55303baba28138189e05d47aea04ed3.tar.gz nextcloud-server-9e1fdf4da55303baba28138189e05d47aea04ed3.zip |
Merge pull request #4126 from nextcloud/better-empty-content-in-the-sidebar
Better styling of the empty content messages in the sidebar
-rw-r--r-- | apps/files_versions/css/versions.css | 4 | ||||
-rw-r--r-- | apps/files_versions/js/versionstabview.js | 4 | ||||
-rw-r--r-- | core/css/styles.scss | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_versions/css/versions.css b/apps/files_versions/css/versions.css index e749854a942..cd63a90ab51 100644 --- a/apps/files_versions/css/versions.css +++ b/apps/files_versions/css/versions.css @@ -68,7 +68,3 @@ float: right; margin-right: -10px; } - -.versionsTabView .emptycontent { - margin-top: 10px; -} diff --git a/apps/files_versions/js/versionstabview.js b/apps/files_versions/js/versionstabview.js index aa20d8fda7a..3a9026901ea 100644 --- a/apps/files_versions/js/versionstabview.js +++ b/apps/files_versions/js/versionstabview.js @@ -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'); diff --git a/core/css/styles.scss b/core/css/styles.scss index a5b7f2481d9..c9ba8695032 100644 --- a/core/css/styles.scss +++ b/core/css/styles.scss @@ -308,6 +308,10 @@ body { width: 100%; } +#app-sidebar #emptycontent, #app-sidebar .emptycontent { + margin-top: 10vh; +} + #emptycontent.emptycontent-search, .emptycontent.emptycontent-search { position: static; } |