insin / insin/react-maskedinput

space remaining inside my MaskedInput despite margin=0, padding=0 and width=auto

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
727
Forks
191
PR merge metrics
No merged PRs in 30d

Description

here the demo https://stackblitz.com/edit/react-gunzft?file=index.js.

Why MaskedInput want to put some space at the end of the element? With standard's input the width fit to the content in this configuration.

Here m ReactJS snippet:
```

```

here my CSS' snippet:
```
.date{
height:4.5vh;
text-align:left;
font-size:1.05em;
width:auto;
margin:0;
padding:0;
}
```

How can I use MaskedInput so it fit my content?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.