Merge pull request #1546 from vector-im/dbkr/fix_toggle_ipad

Fix layout toggle on safari
This commit is contained in:
David Baker
2023-09-20 12:40:07 +01:00
committed by GitHub

View File

@@ -24,8 +24,12 @@ limitations under the License.
.toggle input {
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;
width: 0;
outline: none !important;
}