From 38d1f99387afe3357d8241c852dc300e92bcbed9 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Mon, 6 Nov 2023 13:59:53 -0800 Subject: [PATCH] fix: reduces padding on mobile (#2476) --- assets/components.d.ts | 1 + assets/components/PageWithLinks.vue | 12 ++++++++++++ assets/layouts/default.vue | 4 +--- assets/pages/[...all].vue | 12 +++++++----- assets/pages/content/[id].vue | 11 ++++------- assets/pages/index.vue | 7 ++----- assets/pages/settings.vue | 7 ++----- 7 files changed, 29 insertions(+), 25 deletions(-) create mode 100644 assets/components/PageWithLinks.vue diff --git a/assets/components.d.ts b/assets/components.d.ts index 71b6fcaddc78..e4f0ac8a44f1 100644 --- a/assets/components.d.ts +++ b/assets/components.d.ts @@ -59,6 +59,7 @@ declare module 'vue' { 'Octicon:container24': typeof import('~icons/octicon/container24')['default'] 'Octicon:download24': typeof import('~icons/octicon/download24')['default'] 'Octicon:trash24': typeof import('~icons/octicon/trash24')['default'] + PageWithLinks: typeof import('./components/PageWithLinks.vue')['default'] 'Ph:command': typeof import('~icons/ph/command')['default'] 'Ph:computerTower': typeof import('~icons/ph/computer-tower')['default'] 'Ph:controlBold': typeof import('~icons/ph/control-bold')['default'] diff --git a/assets/components/PageWithLinks.vue b/assets/components/PageWithLinks.vue new file mode 100644 index 000000000000..652deda03a6c --- /dev/null +++ b/assets/components/PageWithLinks.vue @@ -0,0 +1,12 @@ + + + + + diff --git a/assets/layouts/default.vue b/assets/layouts/default.vue index 03141409d620..b61b5e0b59dd 100644 --- a/assets/layouts/default.vue +++ b/assets/layouts/default.vue @@ -8,9 +8,7 @@ - - - +