From a8ecabe11b66e8842bd1267fbefd88a29b208795 Mon Sep 17 00:00:00 2001 From: SychO9 Date: Tue, 1 Feb 2022 13:37:16 +0100 Subject: [PATCH] Fix long sidebar labels --- less/forum/sideNav.less | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/less/forum/sideNav.less b/less/forum/sideNav.less index edc0241..705e5f1 100644 --- a/less/forum/sideNav.less +++ b/less/forum/sideNav.less @@ -13,20 +13,28 @@ margin: 2px 0; > a { + --icon-size: 30px; padding: 6px; - display: flex; + display: grid; + grid-template-columns: var(--icon-size) 1fr; align-items: center; border-radius: 25px; transition: background-color 0.4s, color 0.4s; font-size: 14px; + grid-gap: 10px; .Button-icon { - .asirem-icon-block(30px); + .asirem-icon-block(var(--icon-size)); float: none; - margin: 0 10px 0 0; + margin: 0; border-radius: 100%; transition: background-color 0.4s; } + + .Button-label { + overflow: hidden; + text-overflow: ellipsis; + } } &.active {