From 2169602092669acedb455052d1783c7f7c27e1fa Mon Sep 17 00:00:00 2001 From: Gamebrary Date: Wed, 3 Feb 2021 15:57:07 -0700 Subject: [PATCH] update wallpapers ui --- src/pages/Wallpapers.vue | 94 +++++++++++++++++++++++++--------------- 1 file changed, 59 insertions(+), 35 deletions(-) diff --git a/src/pages/Wallpapers.vue b/src/pages/Wallpapers.vue index b178f872..916334d8 100644 --- a/src/pages/Wallpapers.vue +++ b/src/pages/Wallpapers.vue @@ -15,6 +15,19 @@ {{ $t('wallpapers.title') }} +
+ + {{ formattedSpaceUsed }} of {{ bytesToSize(maxSpace) }} used + + + +
+ - - {{ formattedSpaceUsed }} of {{ bytesToSize(maxSpace) }} used - - - - - -
- {{ wallpaper.name }} - - - {{ bytesToSize(wallpaper.metadata.size) }} - -
- - - - -
+
+ {{ wallpaper.name }} + + + {{ bytesToSize(wallpaper.metadata.size) }} + +
+ + + + + + You don't have any wallpapers. @@ -219,4 +225,22 @@ export default { bottom: .5rem; right: .5rem; } + +.space-used { + width: 120px; +} + +.wallpapers { + display: grid; + grid-column-gap: 1rem; + grid-template-columns: 1fr 1fr 1fr 1fr 1fr; + + @media(max-width: 1024px) { + grid-template-columns: 1fr 1fr 1fr; + } + + @media(max-width: 720px) { + grid-template-columns: 1fr 1fr; + } +}