Skip to content

Commit 841f71a

Browse files
fix: added box-sizing to fix clipped textfield icon (#6712)
fix: added `box-sizing` to fix clipped textfield validation icon
1 parent e02113a commit 841f71a

File tree

1 file changed

+1
-0
lines changed
  • packages/@adobe/spectrum-css-temp/components/textfield

1 file changed

+1
-0
lines changed

packages/@adobe/spectrum-css-temp/components/textfield/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ governing permissions and limitations under the License.
227227
/* TODO: Confirm if this is ok for the validation icon sizing
228228
Note that the sizes are a bit different when compared with old background icons(more noticable for checkmark)
229229
*/
230+
box-sizing: content-box;
230231
position: absolute;
231232
padding-inline-end: calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) / 2);
232233
pointer-events: all;

0 commit comments

Comments
 (0)