From 4cd67161ba30048ca9d016933d60883e0d5b24fa Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sat, 6 Jul 2019 22:39:59 +0200 Subject: [PATCH] Popup: remove bullshit scrollbars in Chrome. Move scrollbar in site lists to the left. --- src/popup/App.vue | 12 ++++++------ src/popup/popup.html | 2 +- src/res/css/common.scss | 12 ++++++++++++ 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/src/popup/App.vue b/src/popup/App.vue index 2bc4a0d..9ce3e4c 100644 --- a/src/popup/App.vue +++ b/src/popup/App.vue @@ -28,10 +28,10 @@ class="" > Select site to control: -
+
Select embedded frame to control: -
+
Select site to control: -
+
diff --git a/src/popup/popup.html b/src/popup/popup.html index 431eeb1..fdde695 100644 --- a/src/popup/popup.html +++ b/src/popup/popup.html @@ -9,7 +9,7 @@ <% } %> - +
diff --git a/src/res/css/common.scss b/src/res/css/common.scss index 664f37a..984c2a6 100644 --- a/src/res/css/common.scss +++ b/src/res/css/common.scss @@ -74,6 +74,10 @@ body { overflow: hidden; } +.no-overflow-x { + overflow-x: hidden; +} + .no-overflow-y { overflow-y: hidden; } @@ -362,3 +366,11 @@ small { bottom: 0px; background-color: rgba($background-primary, 0.7); } + +.rtl { + direction: rtl; +} + +.ltr { + direction: ltr; +}