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:
@@ -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 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -44,7 +44,7 @@
|
||||
height: 22px;
|
||||
margin-left: 6px;
|
||||
background-color: #fff;
|
||||
border-radius: 100%;
|
||||
border-radius: 50%;
|
||||
|
||||
svg {
|
||||
height: auto;
|
||||
|
||||
Reference in New Issue
Block a user