Skip to content
Snippets Groups Projects
Commit 97e0717b authored by Moritz Langenstein's avatar Moritz Langenstein
Browse files

(ml5717) Fixed colour input on iOS

parent 74fa5efc
No related branches found
No related tags found
1 merge request!45Brush size
Pipeline #103673 passed
......@@ -190,7 +190,7 @@
</svg>
<div id="others">
<div id="other-palette">
<b>Others</b>
<b>Other colours</b>
</div>
<label id="colours">
<input id="other-colours" type="color" value="blue" />
......
......@@ -435,7 +435,7 @@ button.selected {
margin-top: 2%;
display: flex;
align-items: center;
padding-left: 40%;
justify-content: center;
background-color: #3cbc8d;
color: white;
padding-top: 4px;
......@@ -463,8 +463,20 @@ button.selected {
transition-duration: 0.4s;
}
#other-colours {
visibility: hidden;
@supports (-webkit-overflow-scrolling: touch) {
#colours {
visibility: hidden;
}
#other-colours {
visibility: visible;
}
}
@supports not (-webkit-overflow-scrolling: touch) {
#other-colours {
visibility: hidden;
}
}
@font-face {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment