-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredokun.user.js
More file actions
29 lines (25 loc) · 916 Bytes
/
redokun.user.js
File metadata and controls
29 lines (25 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// ==UserScript==
// @name redokun.com: Improve responsive behavior of Translation editor
// @namespace karma-games
// @match https://app2.redokun.com/*
// @updateURL https://raw.githubusercontent.com/karma-games/redokun-violentmonkey-userscript/refs/heads/main/redokun.user.js
// @downloadURL https://raw.githubusercontent.com/karma-games/redokun-violentmonkey-userscript/refs/heads/main/redokun.user.js
// @grant GM_addStyle
// @run-at document-start
// @version 1.0
// @author Stefan Seifert
// ==/UserScript==
(function () {
"use strict";
GM_addStyle(`
/* this should apply only to translation editor with previs image */
@media only screen and (min-width: 1500px) and (min-height: 1024px) {
.mx-auto.w-full.max-w-6xl:has(img[src*="/thumbs/"]) {
max-width: 100%;
}
.sticky.mr-8.w-80.bg-gray-100:has(img[src*="/thumbs/"]) {
width: 40rem;
}
}
`);
})();