From 8c4c118da9db1c8c05591fbb76db4b93045b2592 Mon Sep 17 00:00:00 2001 From: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:47:07 +0300 Subject: [PATCH] Merge pull request #20707 from overleaf/ii-bs3-btn-group [web] BS3 button group colours fix GitOrigin-RevId: 6986336d04b9e5f30531a9bc2836444e7b12907f --- .../stylesheets/components/button-groups.less | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/services/web/frontend/stylesheets/components/button-groups.less b/services/web/frontend/stylesheets/components/button-groups.less index 927359d61f..ed4f1343f4 100755 --- a/services/web/frontend/stylesheets/components/button-groups.less +++ b/services/web/frontend/stylesheets/components/button-groups.less @@ -26,16 +26,18 @@ } .btn-group { - .btn.active { - background-color: @neutral-20; - } + label { + &.btn.active { + background-color: @neutral-20; + } - .btn[disabled] { - cursor: not-allowed; - background-color: @neutral-20; - border-color: @neutral-20; - opacity: 1; - color: @neutral-90; + &.btn[disabled] { + cursor: not-allowed; + background-color: @neutral-20; + border-color: @neutral-20; + opacity: 1; + color: @neutral-90; + } } }