From 585317bcf53db267366a64b8c896ebc52d527ee7 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 17 Oct 2022 23:34:56 +0200 Subject: Response menu for admin --- components/VTable.vue | 2 +- pages/admin/index.vue | 2 +- pages/admin/models.vue | 2 +- pages/admin/reports.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/VTable.vue b/components/VTable.vue index 9886a21..db7a9ae 100644 --- a/components/VTable.vue +++ b/components/VTable.vue @@ -24,7 +24,7 @@ svg(v-else xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-red-500") path(stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12") span(v-else-if="name == 'avatar'") - .flex + .block(class="sm:flex") a.inline-block(:href="'/user/'+field.id" target="_blank") user-avatar(:data="field") a.text-red-500.ml-2.cursor-pointer( diff --git a/pages/admin/index.vue b/pages/admin/index.vue index 006f515..d9a280b 100644 --- a/pages/admin/index.vue +++ b/pages/admin/index.vue @@ -64,7 +64,7 @@ class="hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm" @click="boxEditUser = 0" ) Cancel - .grid.grid-cols-6.mt-3 + .flex.flex-col.grid-cols-6.mt-3(class="sm:grid") div admin-sidebar section#tables.col-span-5 diff --git a/pages/admin/models.vue b/pages/admin/models.vue index 5574656..91615b2 100644 --- a/pages/admin/models.vue +++ b/pages/admin/models.vue @@ -148,7 +148,7 @@ class="hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm" @click="boxDeleteModel = 0" ) Cancel - .grid.grid-cols-6.mt-3 + .flex.flex-col.grid-cols-6.mt-3(class="sm:grid") div admin-sidebar section#tables.col-span-5 diff --git a/pages/admin/reports.vue b/pages/admin/reports.vue index 1c3122c..867bc68 100644 --- a/pages/admin/reports.vue +++ b/pages/admin/reports.vue @@ -94,7 +94,7 @@ class="hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm" @click="boxDeleteReport = 0" ) Cancel - .grid.grid-cols-6.mt-3 + .flex.flex-col.grid-cols-6.mt-3(class="sm:grid") div admin-sidebar section#tables.col-span-5 -- cgit v1.2.3-18-g5258