mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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() {
|
_resizeInput() {
|
||||||
let input = this.input;
|
let input = this.input;
|
||||||
if (input.clientWidth < input.scrollWidth) {
|
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;
|
height: auto;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
min-width: 18em;
|
||||||
|
max-width: 500px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue