From 47f206ad56f656e14bf1ef321842098a7db12028 Mon Sep 17 00:00:00 2001 From: Yunus Date: Wed, 1 May 2024 19:35:10 +0700 Subject: [PATCH] Some responsive --- assets/layout/styles/layout/_variables.scss | 12 ++++--- layouts/default.vue | 24 +++++++++++-- pages/apps.vue | 40 ++++++++------------- 3 files changed, 44 insertions(+), 32 deletions(-) diff --git a/assets/layout/styles/layout/_variables.scss b/assets/layout/styles/layout/_variables.scss index 4bcfaea..6d57eef 100644 --- a/assets/layout/styles/layout/_variables.scss +++ b/assets/layout/styles/layout/_variables.scss @@ -1,4 +1,8 @@ -/* General */ -$scale:14px; /* main font size */ -$borderRadius:8px; /* border radius of layout element e.g. card, sidebar */ -$transitionDuration:.2s; /* transition duration of layout elements e.g. sidebar, overlay menus */ +$scale: 14px; + +@media (min-width: 576px) { + $scale: 50px; +} + +$borderRadius: 8px; +$transitionDuration: .2s; \ No newline at end of file diff --git a/layouts/default.vue b/layouts/default.vue index 7fab965..309e83e 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -9,6 +9,7 @@ const signout = () => { navigateTo('/') } +const visible = ref(false)