Commit 7dd128b
committed
fix: properly coordinate borders and border-radius between input and addons
Fix the border and border-radius coordination so prefix/suffix addons connect
seamlessly with the input field without visible gaps.
Changes:
- Move border/radius removal logic from InputGroupInput to TextField
- TextField now explicitly passes 'rounded-l-none border-l-0' when prefix exists
- TextField now explicitly passes 'rounded-r-none border-r-0' when suffix exists
- Simplified InputGroupInput to just handle base styling
- This matches the original implementation's approach exactly
Result: Borders and corners now connect cleanly between addons and input,
matching the original FieldPrefix/FieldSuffix behavior.
Requested by: Jake Ruesink1 parent 1d3809d commit 7dd128b
2 files changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | 133 | | |
137 | 134 | | |
138 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
100 | 109 | | |
101 | 110 | | |
102 | 111 | | |
| |||
0 commit comments