Fix icons invisible on iOS

It was ONLY because of flex-direction being row by default. Switched to column, does the trick… !?%@
This commit is contained in:
2020-04-22 10:13:44 +02:00
parent 4ebd938012
commit 39031366d5
7 changed files with 13 additions and 11 deletions

View File

@@ -2,6 +2,7 @@
.button-control {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 40px;
@@ -9,7 +10,7 @@
overflow: hidden;
padding-top: 2px;
pointer-events: auto;
border-radius: 100%;
border-radius: 50%;
border: none;
cursor: pointer;
outline: none;
@@ -23,6 +24,7 @@
// Icon
.icon {
position: relative;
overflow: hidden;
display: block;
width: 13px;
@@ -266,4 +268,4 @@
}
}
}
}
}

View File

@@ -44,7 +44,7 @@
height: 22px;
margin-left: 6px;
background-color: #fff;
border-radius: 100%;
border-radius: 50%;
svg {
height: auto;