From 1b96eee4de93302d2698f56b23ce23a289051206 Mon Sep 17 00:00:00 2001 From: hooklife Date: Sat, 19 May 2018 02:12:18 +0800 Subject: [PATCH 1/3] fix --- browser/main/SideNav/SwitchButton.styl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser/main/SideNav/SwitchButton.styl b/browser/main/SideNav/SwitchButton.styl index 54e21b035..847266e9b 100644 --- a/browser/main/SideNav/SwitchButton.styl +++ b/browser/main/SideNav/SwitchButton.styl @@ -27,8 +27,9 @@ padding 5px line-height normal border-radius 2px - opacity 0 + opacity 1 transition 0.1s + white-space nowrap body[data-theme="white"] .non-active-button From ec31fab344a960255e27e8e8441bf7e1939aa2b5 Mon Sep 17 00:00:00 2001 From: hooklife Date: Sat, 19 May 2018 02:15:40 +0800 Subject: [PATCH 2/3] fix --- browser/main/SideNav/PreferenceButton.styl | 3 ++- browser/main/SideNav/SwitchButton.styl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/browser/main/SideNav/PreferenceButton.styl b/browser/main/SideNav/PreferenceButton.styl index 97a489827..7648deccc 100644 --- a/browser/main/SideNav/PreferenceButton.styl +++ b/browser/main/SideNav/PreferenceButton.styl @@ -48,4 +48,5 @@ body[data-theme="dark"] line-height normal border-radius 2px opacity 0 - transition 0.1s \ No newline at end of file + transition 0.1s + white-space nowrap \ No newline at end of file diff --git a/browser/main/SideNav/SwitchButton.styl b/browser/main/SideNav/SwitchButton.styl index 847266e9b..36099140a 100644 --- a/browser/main/SideNav/SwitchButton.styl +++ b/browser/main/SideNav/SwitchButton.styl @@ -27,7 +27,7 @@ padding 5px line-height normal border-radius 2px - opacity 1 + opacity 0 transition 0.1s white-space nowrap From 5fd482428adff5ea95a5916f99c31bda744c0914 Mon Sep 17 00:00:00 2001 From: hook life Date: Mon, 28 May 2018 13:12:18 +0800 Subject: [PATCH 3/3] add new line at last. --- browser/main/SideNav/PreferenceButton.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/SideNav/PreferenceButton.styl b/browser/main/SideNav/PreferenceButton.styl index 7648deccc..54513cb6b 100644 --- a/browser/main/SideNav/PreferenceButton.styl +++ b/browser/main/SideNav/PreferenceButton.styl @@ -49,4 +49,4 @@ body[data-theme="dark"] border-radius 2px opacity 0 transition 0.1s - white-space nowrap \ No newline at end of file + white-space nowrap