Skip to content

Commit 5ff2cf8

Browse files
committed
Fix aux controls overlapping with validation (#658)
1 parent 3ecbd09 commit 5ff2cf8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

styles/Typeahead.scss

+9-2
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,15 @@ $rbt-token-active-color: $rbt-color-white !default;
201201
}
202202
}
203203

204-
.has-aux .rbt-input {
205-
padding-right: 34px;
204+
.has-aux .form-control {
205+
padding-right: 32px;
206+
207+
// Position validation icons next to clear button and loader.
208+
&.is-valid,
209+
&.is-invalid {
210+
background-position: right 2rem center;
211+
padding-right: 64px;
212+
}
206213
}
207214

208215
// Default highlight style

0 commit comments

Comments
 (0)