Created
September 22, 2022 10:01
-
-
Save mbaersch/ffad4119fd78477bfb6a9ff006f809a7 to your computer and use it in GitHub Desktop.
Tampermonkey Script for adjusting GTM user interface to full size use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Full Size GTM | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description adjust GTM user interface to full size use | |
// @author MBSL | |
// @match https://tagmanager.google.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var s = document.createElement('style'); | |
s.innerHTML = ".gtm-container-page-content-wrapper{flex: 0 1 100%;} .gtm-sheet{max-width:100%!important;transform:none!important} div.sheet-padding{width:100%important}"; | |
s.innerHTML += "@media (min-width: 1160px) {.gtm-sheet .gtm-sheet-centered .sheet-content, .gtm-sheet .gtm-sheet--centered .sheet-content {width: auto!important;}}"; | |
document.body.appendChild(s); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment