mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 17:13:38 +08:00
Slight improvement for Firefox bug #368
This commit is contained in:
parent
06c0666b93
commit
2e1ae4c7d5
2 changed files with 3 additions and 1 deletions
|
@ -202,7 +202,7 @@ export class EmailAddressesComponent {
|
|||
_resizeInput() {
|
||||
let input = this.input;
|
||||
if (input.clientWidth < input.scrollWidth) {
|
||||
input.style.width = Math.min(500, Math.max(200, input.scrollWidth)) + 'px';
|
||||
input.style.width = (input.scrollWidth + 20) + 'px';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -71,6 +71,8 @@
|
|||
height: auto;
|
||||
line-height: inherit;
|
||||
margin: 0;
|
||||
min-width: 18em;
|
||||
max-width: 500px;
|
||||
padding: 4px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue