From 1f84c2c598b032e097c15374e33477314418543b Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Mon, 3 Jul 2023 08:42:00 +0200 Subject: [PATCH] Continue to work on Discover --- src/components/Top.vue | 26 ++++++++++++++++++++------ src/views/Discover.vue | 7 ++++--- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/components/Top.vue b/src/components/Top.vue index 2aa4d79..572a785 100644 --- a/src/components/Top.vue +++ b/src/components/Top.vue @@ -1,5 +1,11 @@ @@ -53,7 +55,7 @@ export default { this.tops = top.data } catch (e) { console.error(e) - showError(t('repod', 'Could not fetch subscriptions')) + showError(t('repod', 'Could not fetch tops')) } this.loading = false @@ -78,4 +80,16 @@ export default { height: 100%; width: 100%; } + + .more { + display: flex; + justify-content: space-between; + align-items: center; + } + + .caption { + float: right; + font-size: small; + margin: .5rem; + } diff --git a/src/views/Discover.vue b/src/views/Discover.vue index 9ec0bba..080a5f2 100644 --- a/src/views/Discover.vue +++ b/src/views/Discover.vue @@ -1,11 +1,11 @@ @@ -23,6 +23,7 @@ export default { }, data() { return { + search: '', } }, computed: { @@ -39,6 +40,6 @@ export default { margin: 11px 55px; display: flex; flex-direction: column; - gap: 2rem; + gap: 1rem; }