Skip to content

Instantly share code, notes, and snippets.

@instance-id
Created June 16, 2023 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save instance-id/2d677eed805ed85641edd0f723c9d49b to your computer and use it in GitHub Desktop.
Save instance-id/2d677eed805ed85641edd0f723c9d49b to your computer and use it in GitHub Desktop.
Unity Discussions Wide Screen Userscript - ViolentMonkey - (Newer Discourse board)
// ==UserScript==
// @name Unity Discussion(Discourse) WideScreen - unity.com
// @namespace Violentmonkey Scripts
// @match *://discussions.unity.com/*
// @grant none
// @version 0.1
// @author instance.id
// @description 6/16/2023, 4:17:24 PM
// ==/UserScript==
var styleSheet = `
.wrap {
max-width: 96% !important;
}
.container.posts {
grid-template-columns: 92% 8% !important;
}
.topic-body {
width: 96% !important;
}
`;
(function () {
var s = document.createElement('style');
s.type = "text/css";
s.innerHTML = styleSheet;
(document.head || document.documentElement).appendChild(s);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment