Update CharLimitedFieldset class name
This commit is contained in:
parent
f85e3ac85e
commit
2908c33b2c
2 changed files with 10 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
.Limited {
|
||||
.Joined {
|
||||
$offset: 2px;
|
||||
|
||||
align-items: center;
|
||||
|
|
@ -12,6 +12,14 @@
|
|||
padding-bottom: 2px;
|
||||
padding-right: calc($unit-2x - $offset);
|
||||
|
||||
&.Bound {
|
||||
background-color: var(--input-bound-bg);
|
||||
|
||||
&:hover {
|
||||
background-color: var(--input-bound-bg-hover);
|
||||
}
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
border: $offset solid $blue;
|
||||
// box-shadow: 0 2px rgba(255, 255, 255, 1);
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ const CharLimitedFieldset = React.forwardRef<HTMLInputElement, Props>(
|
|||
|
||||
return (
|
||||
<fieldset className="Fieldset">
|
||||
<div className="Limited">
|
||||
<div className="Joined">
|
||||
<input
|
||||
autoComplete="off"
|
||||
className="Input"
|
||||
|
|
|
|||
Loading…
Reference in a new issue