From 7f8a4341355cda35a39b35002c1926b62a81da2f Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 19 Sep 2023 07:54:13 -0400 Subject: [PATCH] Fix layout toggle looking broken on Safari (I hope) I don't have a Safari to test with, but according to https://moderncss.dev/pure-css-custom-styled-radio-buttons/, this should do the trick. --- src/room/LayoutToggle.module.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/room/LayoutToggle.module.css b/src/room/LayoutToggle.module.css index e54e9447..fb95a716 100644 --- a/src/room/LayoutToggle.module.css +++ b/src/room/LayoutToggle.module.css @@ -24,6 +24,8 @@ limitations under the License. .toggle input { appearance: none; + /* Safari puts a margin on these, which is not removed via appearance: none */ + margin: 0; outline: none !important; }