mirror of
https://github.com/primer/css.git
synced 2024-11-25 18:26:14 +03:00
Use control
border on default btn in an input group (#2520)
* use control border on btn in group * Create mean-kangaroos-burn.md
This commit is contained in:
parent
7c75006288
commit
7e2622fe96
5
.changeset/mean-kangaroos-burn.md
Normal file
5
.changeset/mean-kangaroos-burn.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
Use `control` border on default btn in an input group
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user