Skip to content

Instantly share code, notes, and snippets.

@eh-am
Last active October 5, 2019 02:38
Show Gist options
  • Save eh-am/4335ebaabe925821f61d63932f4b7e72 to your computer and use it in GitHub Desktop.
Save eh-am/4335ebaabe925821f61d63932f4b7e72 to your computer and use it in GitHub Desktop.
wanikani-self-study-mobile.js
// ==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