Skip to content

Commit

Permalink
[components, form-builder] fix too thick focus border
Browse files Browse the repository at this point in the history
  • Loading branch information
vicmeow authored and rexxars committed Oct 6, 2020
1 parent 1551585 commit 7c24d47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/@sanity/components/src/tags/TextField.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

.rootReadOnly {
composes: root;

@nest & .content {
color: var(--input-color-disabled);
background: var(--input-bg-disabled);
Expand All @@ -23,7 +23,7 @@
.tags {
display: flex;
margin: 0;
padding: 0;
padding: 0;
flex-wrap: wrap;
gap: var(--small-padding);
}
Expand Down Expand Up @@ -78,7 +78,7 @@
}

@nest &:focus, &:focus-within {
box-shadow: var(--input-box-shadow--focus);
box-shadow: var(--input-box-shadow-thin--focus);
background-color: var(--input-bg-focus);
border-color: var(--input-border-color-focus);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
height: auto;
clip: auto;
outline: none;
box-shadow: var(--input-box-shadow--focus);
box-shadow: var(--input-box-shadow-thin--focus);
border-color: var(--input-border-color-focus);
}
}

0 comments on commit 7c24d47

Please sign in to comment.