From 95398d70dd9dbfc4cb9c816c378f81bfeecfaab7 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Thu, 15 Jul 2021 18:58:50 +0700 Subject: [PATCH] fix(layout): codeblock responsiveness on mobile --- client/src/components/codeblock.svelte | 2 +- client/src/components/navbar.svelte | 2 +- client/src/routes/__layout.svelte | 2 +- client/src/routes/index.svelte | 10 +++++----- client/src/routes/why.svelte | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/client/src/components/codeblock.svelte b/client/src/components/codeblock.svelte index 7961bbc..4a7d6eb 100644 --- a/client/src/components/codeblock.svelte +++ b/client/src/components/codeblock.svelte @@ -1,5 +1,5 @@
diff --git a/client/src/components/navbar.svelte b/client/src/components/navbar.svelte index eb8b0e8..8868742 100644 --- a/client/src/components/navbar.svelte +++ b/client/src/components/navbar.svelte @@ -13,6 +13,6 @@ diff --git a/client/src/routes/__layout.svelte b/client/src/routes/__layout.svelte index 288cc0b..7b1d1b6 100644 --- a/client/src/routes/__layout.svelte +++ b/client/src/routes/__layout.svelte @@ -26,7 +26,7 @@
-
+
diff --git a/client/src/routes/index.svelte b/client/src/routes/index.svelte index 707c0b6..e5ce406 100644 --- a/client/src/routes/index.svelte +++ b/client/src/routes/index.svelte @@ -19,16 +19,16 @@
-
+
-

{$_('meta.tagline')}

-

{$_('meta.explanation')}

+

{$_('meta.tagline')}

+

{$_('meta.explanation')}

-
+
Sample joke
- $ curl -XGET 'https://jokesbapak2.herokuapp.com/v1/' + $ curl -XGET 'https://jokesbapak2.herokuapp.com/v1/'

{$_('home.more.1')} goto('/guide')}>{$_('navigation.guide')} {$_('home.more.2')} goto('/api')}>{$_('navigation.api')} diff --git a/client/src/routes/why.svelte b/client/src/routes/why.svelte index 6dab07b..50c2453 100644 --- a/client/src/routes/why.svelte +++ b/client/src/routes/why.svelte @@ -40,10 +40,10 @@