Merge pull request #1546 from vector-im/dbkr/fix_toggle_ipad
Fix layout toggle on safari
This commit is contained in:
@@ -24,8 +24,12 @@ limitations under the License.
|
|||||||
|
|
||||||
.toggle input {
|
.toggle input {
|
||||||
appearance: none;
|
appearance: none;
|
||||||
/* Safari puts a margin on these, which is not removed via appearance: none */
|
/*
|
||||||
|
* Safari puts a margin on these, which is not removed via appearance: none
|
||||||
|
* mobile safari also has them take up space in the DOM, so set width 0
|
||||||
|
*/
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
width: 0;
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user