From 405e6c1e4ea4fecda6308fe54d7a4012b40f56fd Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Sat, 28 Aug 2021 10:57:21 +0530 Subject: [PATCH] chore: minor fixes and improvements --- assets/scss/styles.scss | 19 ------------------- components/app/Shortcuts.vue | 5 ++--- components/button/Primary.vue | 1 + components/button/Secondary.vue | 1 + components/collections/ChooseType.vue | 2 +- components/collections/graphql/index.vue | 15 +++++++-------- components/collections/index.vue | 4 ++-- components/graphql/Sidebar.vue | 14 ++++++-------- components/history/index.vue | 14 ++++++-------- components/http/Authorization.vue | 2 +- components/http/Body.vue | 8 ++++++++ components/smart/Item.vue | 1 + components/smart/Toggle.vue | 1 - components/tab/Primary.vue | 1 + components/tab/Secondary.vue | 1 + 15 files changed, 38 insertions(+), 51 deletions(-) diff --git a/assets/scss/styles.scss b/assets/scss/styles.scss index 0f83655f1..686631a90 100644 --- a/assets/scss/styles.scss +++ b/assets/scss/styles.scss @@ -282,25 +282,6 @@ pre.ace_editor { } } -.search-wrapper { - @apply flex flex-1; - @apply relative; - - &::after { - @apply absolute; - @apply flex; - @apply inset-y-0; - @apply items-center; - @apply justify-center; - @apply pointer-events-none; - @apply font-icon; - @apply text-secondaryLight; - @apply left-4; - - content: "\e8b6"; - } -} - input[type="checkbox"] { @apply hidden; diff --git a/components/app/Shortcuts.vue b/components/app/Shortcuts.vue index 6d2f2c5b6..31afa2fb2 100644 --- a/components/app/Shortcuts.vue +++ b/components/app/Shortcuts.vue @@ -20,7 +20,7 @@
-
+
-
- -
+
-
+
-
- -
+
-
- -
+
{{ $t("empty.body") }} +
diff --git a/components/smart/Item.vue b/components/smart/Item.vue index 9d2a6c14f..4474f2d12 100644 --- a/components/smart/Item.vue +++ b/components/smart/Item.vue @@ -5,6 +5,7 @@ :blank="blank" class=" rounded + transition font-medium flex-shrink-0 py-2 diff --git a/components/smart/Toggle.vue b/components/smart/Toggle.vue index c9b343a6b..7c45f2b83 100644 --- a/components/smart/Toggle.vue +++ b/components/smart/Toggle.vue @@ -54,7 +54,6 @@ $transition: all 0.2s ease-in-out; height: $height; border: if($useBorder, 2px solid $borderColor, none); background-color: if($useBorder, transparent, $inactiveColor); - transition: $transition; box-sizing: initial; .handle { diff --git a/components/tab/Primary.vue b/components/tab/Primary.vue index 756b23395..2a53348d8 100644 --- a/components/tab/Primary.vue +++ b/components/tab/Primary.vue @@ -6,6 +6,7 @@ class=" rounded py-2 + transition px-4 inline-flex items-center diff --git a/components/tab/Secondary.vue b/components/tab/Secondary.vue index 4f28e281f..addb08ceb 100644 --- a/components/tab/Secondary.vue +++ b/components/tab/Secondary.vue @@ -7,6 +7,7 @@ font-medium flex-1 py-2 + transition transform inline-flex items-center