From ca3b777b89138d038ee6f386566fd0a20f755405 Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Sat, 9 Nov 2024 22:30:41 +0100 Subject: [PATCH] Set the padding of the buttons in the toolbars to zero It fixes #19008. In Firefox on mac, the default padding is set to 4px and with Firefox for iOS, it's set to 13px. The padding is useless for such buttons. --- web/annotation_editor_layer_builder.css | 4 ++++ web/viewer.css | 1 + 2 files changed, 5 insertions(+) diff --git a/web/annotation_editor_layer_builder.css b/web/annotation_editor_layer_builder.css index ec539946a7ce2..9592b9a744f24 100644 --- a/web/annotation_editor_layer_builder.css +++ b/web/annotation_editor_layer_builder.css @@ -309,6 +309,10 @@ gap: 0; height: 100%; + button { + padding: 0; + } + .divider { width: 0; height: calc( diff --git a/web/viewer.css b/web/viewer.css index 4b2b25ac9be0b..3629d5eb2a514 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -996,6 +996,7 @@ dialog :link { font: message-box; flex: none; position: relative; + padding: 0; > span { display: inline-block;