Last active
October 5, 2019 02:38
-
-
Save eh-am/4335ebaabe925821f61d63932f4b7e72 to your computer and use it in GitHub Desktop.
wanikani-self-study-mobile.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Wanikani Self-Study Mobile | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description improve mobile support for wanikani self-study | |
// @author eh-am | |
// @match *://*.wanikani.com/* | |
// @grant GM_addStyle | |
// @downloadURL https://gist.githubusercontent.com/eh-am/4335ebaabe925821f61d63932f4b7e72/raw/a3dac61e8850b9f076827ac6e125b14fcb878d07/wanikani-self-study-mobile.js | |
// @updateURL https://gist.githubusercontent.com/eh-am/4335ebaabe925821f61d63932f4b7e72/raw/a3dac61e8850b9f076827ac6e125b14fcb878d07/wanikani-self-study-mobile.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
GM_addStyle(` | |
@media screen and (max-width: 600px) { | |
#ss_quiz { | |
max-width: 100vw; | |
left: 0 !important; | |
box-sizing: border-box; | |
} | |
} | |
`); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment