matushl / Gmail width adjustment

// ==UserScript==
// @name         Gmail width adjustment
// @namespace    https://mail.google.com/
// @version      0.1
// @description  Lower the width of displayed screen on Gmail's website.
// @author       matushl
// @license      MIT
// @match        https://mail.google.com/mail/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    // Wait for the page to load
    window.addEventListener('load', function() {
        // Adjust the CSS of the target element
        GM_addStyle('body > div:nth-child(23) > div.nH { max-width: 1456px; margin: 0px auto; }');
    });
})();