Nursebuddy - Remove Padding

Modifies padding and height on nurseBuddy.fi, primarily intended for the visit/schedule page though it also changes the client & carer calendar sizes and padding/transition effects globally

// ==UserScript==
// @name        Nursebuddy - Remove Padding
// @description Modifies padding and height on nurseBuddy.fi, primarily intended for the visit/schedule page though it also changes the client & carer calendar sizes and padding/transition effects globally
// @version     1.5
// @author      TomC
// @match       *://app.nursebuddy.fi/*
// @grant       GM_addStyle
// @license     MIT
// @namespace https://greasyfork.org/users/441
// ==/UserScript==

(function() {
  'use strict';

  function adjustStyles() {
    GM_addStyle('[class*="MuiToolbar-regular-_react-injected-view-topMenuBarContainer-"] { min-height: 48px !important; height: 48px !important; }');
    GM_addStyle('.panel-heading { padding: 6px !important; }');

    GM_addStyle('body.manager #shellContent { padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; }');
    GM_addStyle('body.manager #mainContentContainer #breadCrumbAndContentContainer #topMenuBarContainer { min-height: 48px !important; height: 48px !important; }');
    GM_addStyle('body.manager #mainContentContainer #breadCrumbAndContentContainer #breadCrumbs .breadCrumbsContainer { min-height: 48px !important; height: 48px !important; }');

    GM_addStyle('.contentDefaultPaddingBottom { padding-bottom: 0 !important; }');

    GM_addStyle('calendarContentWrapper { height: 800px !important; }');

    GM_addStyle('body.manager #menuContentSplitter #toggleMenu, body.manager #menuContentSplitter .toggleMenu { visibility: visible !important; opacity: 1 !important; }');
    GM_addStyle('body.manager #menuContentSplitter #toggleMenu.show, body.manager #menuContentSplitter .toggleMenu.show { visibility: visible !important; opacity: 1 !important; }');

    GM_addStyle('* { transition: none !important; }');

    GM_addStyle('.intercom-lightweight-app-launcher { bottom: 50px !important; }'); // shift intercom app up by 30px so that the next & previous buttons are still clickable when you scroll to the bottom of either of the People pages
    
    }

    adjustStyles();

})();