Skip to content

Commit f4dba96

Browse files
authored
Comment box upload focus border-radius (#2049)
* missing border-radius * Create beige-horses-fetch.md * lint * you would think I would know these by now
1 parent 553d72c commit f4dba96

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.changeset/beige-horses-fetch.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": major
3+
---
4+
5+
Comment box upload focus border-radius

src/forms/form-validation.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,11 @@ dl.form-group > dd, // TODO: Deprecate
235235
}
236236

237237
&.focused {
238-
@include focusBoxShadowInset(2px, var(--color-accent-fg));
238+
border-color: var(--color-accent-fg);
239+
border-radius: $border-radius;
240+
outline: none;
241+
// stylelint-disable-next-line primer/box-shadow
242+
box-shadow: 0 0 0 2px var(--color-accent-fg);
239243

240244
.form-control {
241245
border-color: transparent;

0 commit comments

Comments
 (0)