summaryrefslogtreecommitdiff
path: root/ext/fg/css
diff options
context:
space:
mode:
authorAlex Yatskov <FooSoft@users.noreply.github.com>2019-03-07 11:31:06 -0800
committerGitHub <noreply@github.com>2019-03-07 11:31:06 -0800
commitc7f8d0874a758924802179a44757153bbf18bf7f (patch)
tree3191c8015cc23667c4089cd551ec521183b61ac8 /ext/fg/css
parent27fb9643e471dbd1c0e6a19023a449bf7688bd71 (diff)
parent0b8ae6c53a4b5b358a0af0617ccada019630d683 (diff)
Merge pull request #157 from toasted-nutbread/touch-input
Add support for touch input
Diffstat (limited to 'ext/fg/css')
-rw-r--r--ext/fg/css/client.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/fg/css/client.css b/ext/fg/css/client.css
index b5b1f6bd..a9b8e025 100644
--- a/ext/fg/css/client.css
+++ b/ext/fg/css/client.css
@@ -27,3 +27,25 @@ iframe#yomichan-float {
visibility: hidden;
z-index: 2147483647;
}
+
+iframe#yomichan-float.yomichan-float-full-width {
+ border-left: none;
+ border-right: none;
+ left: 0 !important;
+ right: 0 !important;
+ width: 100% !important;
+ box-sizing: border-box;
+ resize: none;
+}
+
+iframe#yomichan-float.yomichan-float-full-width:not(.yomichan-float-above) {
+ border-bottom: none;
+ top: auto !important;
+ bottom: 0 !important;
+}
+
+iframe#yomichan-float.yomichan-float-full-width.yomichan-float-above {
+ border-top: none;
+ top: 0 !important;
+ bottom: auto !important;
+}