iOS: bunch of fixes for safari (ie flexbox bugs and more) (issue #78)

This commit is contained in:
jean-emmanuel 2017-09-01 15:40:39 +02:00
parent c6da570817
commit 85526dbb7e
10 changed files with 24 additions and 13 deletions

View file

@ -3,12 +3,14 @@
background: var(--color-fg);
padding: 1rem 8rem 8rem;
margin-top: 2rem;
flex-shrink:0;
&:empty {
padding:0;
margin: 0;
}
ul {
padding: 4rem;
list-style:none;
li {
margin-bottom: 4rem;
position: relative;
@ -72,7 +74,6 @@
cursor: text;
}
&.column {
flex-direction: column;
ul {
padding: 1rem 2rem!important;
overflow: auto;

View file

@ -42,7 +42,9 @@
box-shadow: 0 0 0 1rem var(--color-light) inset;
background: var(--color-fg);
padding: 8rem;
flex: 1 1 100%;
flex: 1 1 auto;
flex-shrink:0;
li {
display: block;
margin-bottom: 8rem;

View file

@ -491,6 +491,7 @@ body {
.popup-content {
height:100%;
width:100%;
flex:1;
padding:10rem;
overflow-y:auto;
white-space: normal;

View file

@ -31,7 +31,7 @@
display: flex;
flex-direction: column;
position: relative;
flex: 1;
> .input {
height: 25rem;
line-height: 25rem;
@ -58,6 +58,7 @@
> canvas {
width: 20rem;
image-rendering:pixelated;
position: relative;
z-index: 1;
}

View file

@ -8,7 +8,7 @@
}
.widget {
.input {
display: flex;
display: block;
flex: 1 1 100%;
background:transparent;
color:var(--color-text-fade);

View file

@ -19,6 +19,7 @@
display: flex;
flex-direction: column;
position: relative;
flex: 1;
> .input {
height: 25rem;

View file

@ -24,7 +24,8 @@
min-height: 0;
min-width: 0;
// margin:0!important;
height: calc( 100% / var(--rows) - var(--spacing));
// height: calc( 100% / var(--rows) - var(--spacing));
height: auto;
width: calc( 100% / var(--columns) - var(--spacing));
margin: calc(var(--spacing) / 2);
.label {

View file

@ -148,7 +148,7 @@
}
&.stretch > .panel > .widget {
flex:1
flex:1 1 100%;
}
}
@ -233,7 +233,7 @@
> .toggle:after {
color:var(--color-custom);
}
border-radius: 0!important; // border radius breaks it smoehow
border-radius: 0!important; // border radius breaks it somehow
}
}
@ -251,6 +251,7 @@
.tab-container, .root-container {
height: 100%;
flex:1;
box-shadow: none;
background: var(--color-bg)!important;
@ -268,7 +269,9 @@
.clone-container {
width: 100rem;
height: 100rem;
> .label {
display: none;
}
.clone {
position: relative;
height: 100%;
@ -288,6 +291,7 @@
max-height: initial!important;
min-width: initial!important;
max-width: initial!important;
padding: 0!important;
}
}
}