summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-10-17 23:34:56 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-10-17 23:34:56 +0200
commit585317bcf53db267366a64b8c896ebc52d527ee7 (patch)
treeffd3ab2d65f65e8d0656997b4be2bffc2224d52b
parent0433d3fbae74e9f99db54bb0c0c59231adafea54 (diff)
Response menu for admin
-rw-r--r--components/VTable.vue2
-rw-r--r--pages/admin/index.vue2
-rw-r--r--pages/admin/models.vue2
-rw-r--r--pages/admin/reports.vue2
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