From d4164067468d5b59b5fdfa3d9c2cc23b6c1eab8e Mon Sep 17 00:00:00 2001 From: Wrongecho Date: Mon, 7 Sep 2026 15:41:22 +0000 Subject: [PATCH] Scale sidebar business name to fit (@BoredManCodes) --- agent/css/sidebar_brand_fix.css | 8 ++++++++ agent/includes/side_nav.php | 6 +++++- agent/js/sidebar_brand_fix.js | 19 +++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 agent/css/sidebar_brand_fix.css create mode 100644 agent/js/sidebar_brand_fix.js diff --git a/agent/css/sidebar_brand_fix.css b/agent/css/sidebar_brand_fix.css new file mode 100644 index 000000000..51bb6ba7c --- /dev/null +++ b/agent/css/sidebar_brand_fix.css @@ -0,0 +1,8 @@ +/* Custom syling for scaling the brand text (MSP name) in the sidebar */ + +.app-sidebar .brand-text { + display: inline-block; + vertical-align: middle; + white-space: nowrap; + transform-origin: left center; +} \ No newline at end of file diff --git a/agent/includes/side_nav.php b/agent/includes/side_nav.php index b97cd2026..f40d6d581 100644 --- a/agent/includes/side_nav.php +++ b/agent/includes/side_nav.php @@ -1,3 +1,7 @@ + + + +