From 9de8c4cf04d34d221606aa141654f78f612167b1 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Thu, 14 Nov 2019 05:00:44 +0530 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=92=84=20Minor=20UI=20improvements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/styles.scss | 1 - components/autocomplete.vue | 6 +++--- components/logo.vue | 2 +- layouts/default.vue | 24 ++++++++++-------------- pages/settings.vue | 7 ------- static/icons/github.svg | 8 ++++---- 6 files changed, 18 insertions(+), 30 deletions(-) diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 831a86e0e..579716a7e 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -58,7 +58,6 @@ body { // Make theme transition smoother. body.afterLoad { - &, & * { transition: background-color 0.2s ease-in-out, border 0.2s ease-in-out; diff --git a/components/autocomplete.vue b/components/autocomplete.vue index b97fed63a..facd48b39 100644 --- a/components/autocomplete.vue +++ b/components/autocomplete.vue @@ -47,7 +47,7 @@ margin: 0 4px; left: 0; padding: 0; - border-radius: 0 0 4px 4px; + border-radius: 0 0 8px 8px; z-index: 9999; transition: transform 0.2s ease-out; @@ -59,7 +59,7 @@ font-family: "Roboto Mono", monospace; &:last-child { - border-radius: 0 0 4px 4px; + border-radius: 0 0 8px 8px; } &:hover, @@ -197,7 +197,7 @@ export default { // Cut off the part that's already been typed. .map(entry => entry.substring(this.selectionStart)) // We only want the top 3 suggestions. - .slice(0, 3) + .slice(0, 6) ); } }, diff --git a/components/logo.vue b/components/logo.vue index 221342bfc..b936d63d3 100644 --- a/components/logo.vue +++ b/components/logo.vue @@ -35,7 +35,7 @@ -