Skip to content

Commit

Permalink
Set the padding of the buttons in the toolbars to zero
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
calixteman committed Nov 9, 2024
1 parent bff6738 commit ca3b777
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/annotation_editor_layer_builder.css
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@
gap: 0;
height: 100%;

button {
padding: 0;
}

.divider {
width: 0;
height: calc(
Expand Down
1 change: 1 addition & 0 deletions web/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@ dialog :link {
font: message-box;
flex: none;
position: relative;
padding: 0;

> span {
display: inline-block;
Expand Down

0 comments on commit ca3b777

Please sign in to comment.