input: fix again, workin for chrome and safari

This commit is contained in:
jean-emmanuel 2017-09-01 23:20:59 +02:00
parent 38340d8f3c
commit 822f4aa224
4 changed files with 5 additions and 8 deletions

View file

@ -34,7 +34,6 @@
flex: 1;
> .input {
height: 25rem;
line-height: 25rem;
flex:initial!important;
flex-shrink: 0!important;
display: block;

View file

@ -8,7 +8,7 @@
}
.widget {
.input {
display: block;
display: flex;
flex: 1 1 100%;
background:transparent;
color:var(--color-text-fade);
@ -21,8 +21,8 @@
input {
display: block;
width:100%;
height: 100%;
flex:1;
max-width: 100%;
font: inherit;
border:0;
padding:0;
@ -38,8 +38,8 @@
}
}
canvas {
height:100%;
width:100%;
flex:1;
max-width: 100%;
}
input + canvas {
display: none;

View file

@ -23,7 +23,6 @@
> .input {
height: 25rem;
line-height: 25rem;
flex:initial!important;
flex-shrink: 0!important;
display: block;

View file

@ -17,7 +17,6 @@
> .input {
margin-top: 2rem;
height: 25rem;
line-height: 25rem;
flex:initial!important;
flex-shrink: 0!important;
display: block;