Skip to content

Commit

Permalink
Comment box upload focus border-radius (#2049)
Browse files Browse the repository at this point in the history
* missing border-radius

* Create beige-horses-fetch.md

* lint

* you would think I would know these by now
  • Loading branch information
langermank committed Apr 28, 2022
1 parent 553d72c commit f4dba96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/beige-horses-fetch.md
@@ -0,0 +1,5 @@
---
"@primer/css": major
---

Comment box upload focus border-radius
6 changes: 5 additions & 1 deletion src/forms/form-validation.scss
Expand Up @@ -235,7 +235,11 @@ dl.form-group > dd, // TODO: Deprecate
}

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

.form-control {
border-color: transparent;
Expand Down

0 comments on commit f4dba96

Please sign in to comment.