Skip to content

Commit cb646c7

Browse files
Initial Commit
Make the Media editing box larger
1 parent a0f967b commit cb646c7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

plex-style-tweaks.user.js

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// ==UserScript==
2+
// @name Plex Style Tweaks
3+
// @version 0.1
4+
// @description Make Plex Great Again!
5+
// @author rigrassm
6+
// @match https://app.plex.tv/desktop
7+
// @match https://app.plex.tv/desktop
8+
// @match https://plex.grassmucks.com/web/*
9+
// @grant none
10+
// ==/UserScript==
11+
12+
function addGlobalStyle(css) {
13+
var head, style;
14+
head = document.getElementsByTagName('head')[0];
15+
if (!head) { return; }
16+
style = document.createElement('style');
17+
style.type = 'text/css';
18+
style.innerHTML = css;
19+
head.appendChild(style);
20+
}
21+
22+
addGlobalStyle('.modal-lg>.modal-dialog {width: 75vw;}');
23+
addGlobalStyle('.modal-body-scroll {max-height: 75vh;}');
24+
addGlobalStyle('.modal-body-with-panes .modal-body-pane {height: 100vh;}');

0 commit comments

Comments
 (0)