From e01c3d1325f9b14a506fda30d0cddeb28e1aaadb Mon Sep 17 00:00:00 2001 From: langermank <18661030+langermank@users.noreply.github.com> Date: Mon, 11 Sep 2023 10:47:46 -0700 Subject: [PATCH] use control border on btn in group --- src/forms/input-group.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/forms/input-group.scss b/src/forms/input-group.scss index 01534cb5a4..abae53b7cd 100644 --- a/src/forms/input-group.scss +++ b/src/forms/input-group.scss @@ -54,6 +54,11 @@ border-bottom-right-radius: 0; } +.input-group .form-control:first-child, +.input-group-button:first-child .btn:not(.btn-primary) { + border-color: var(--control-borderColor-rest, var(--color-border-default)); +} + .input-group-button:first-child .btn { // stylelint-disable-next-line primer/spacing margin-right: -1px; @@ -65,6 +70,11 @@ border-bottom-left-radius: 0; } +.input-group .form-control:last-child, +.input-group-button:last-child .btn:not(.btn-primary) { + border-color: var(--control-borderColor-rest, var(--color-border-default)); +} + .input-group-button:last-child .btn { // stylelint-disable-next-line primer/spacing margin-left: -1px;