From deadfb0b90786ddd20a92b9a40a43d37ec00e69b Mon Sep 17 00:00:00 2001 From: invakid404 Date: Sat, 16 Apr 2022 23:20:09 +0300 Subject: [PATCH] feat(dashboard/Card): move first card on top for small screens --- dashboard/src/components/Card.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dashboard/src/components/Card.svelte b/dashboard/src/components/Card.svelte index 17fd56d..3b87196 100644 --- a/dashboard/src/components/Card.svelte +++ b/dashboard/src/components/Card.svelte @@ -28,6 +28,12 @@ width: 100%; } + @media (max-width: 530px) { + .wrapper > .card-body:first-child { + flex: 0 0 100%; + } + } + .avatar { width: 3rem; height: 3rem;