fix safari issue on ios

This commit is contained in:
Nolan Lawson 2018-02-25 21:12:22 -08:00
parent 2ffd38383d
commit aed194fced
1 changed files with 5 additions and 1 deletions

View File

@ -79,7 +79,6 @@
} }
:global(.compose-profile-input) { :global(.compose-profile-input) {
font-size: 1.1em;
grid-area: input; grid-area: input;
margin-left: 5px; margin-left: 5px;
padding: 5px; padding: 5px;
@ -88,6 +87,11 @@
margin-top: 10px; margin-top: 10px;
resize: none; resize: none;
overflow: hidden; overflow: hidden;
/* Text must be at least 16px or else iOS Safari zooms in */
font-size: 1.2em;
/* Hack to make Edge stretch the element all the way to the right.
* Also desktop Safari makes the gauge stretch too far to the right without it.
*/
width: calc(100% - 5px); width: calc(100% - 5px);
} }