updated webtoon script for mobile

This commit is contained in:
Rudis Muiznieks 2023-07-01 15:40:40 -05:00
parent 3677839041
commit 397b884522
Signed by: rudism
GPG key ID: CABF2F86EF7884F9

View file

@ -4,8 +4,7 @@
// @version 1.0
// @description Style Webtoons
// @author rudism
// @match https://webtoons.com/*
// @match https://www.webtoons.com/*
// @match https://m.webtoons.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
@ -22,10 +21,11 @@ function injectStyle(css) {
(function () {
'use strict';
injectStyle(`
.viewer_lst .viewer_img img._images {
max-width: 300px;
min-width: 300px;
#_viewer {
height: auto !important;
}
#_viewer .flick-ct img {
width: 30%;
height: auto;
border: 1px solid #ccc;
}`);
})();