diff options
-rw-r--r-- | subprojects/frontend/src/PaneButtons.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/subprojects/frontend/src/PaneButtons.tsx b/subprojects/frontend/src/PaneButtons.tsx index 7e884ab0..7c759c36 100644 --- a/subprojects/frontend/src/PaneButtons.tsx +++ b/subprojects/frontend/src/PaneButtons.tsx | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/> | 2 | * SPDX-FileCopyrightText: 2021-2024 The Refinery Authors <https://refinery.tools/> |
3 | * | 3 | * |
4 | * SPDX-License-Identifier: EPL-2.0 | 4 | * SPDX-License-Identifier: EPL-2.0 |
5 | */ | 5 | */ |
@@ -27,6 +27,9 @@ const PaneButtonGroup = styled(ToggleButtonGroup, { | |||
27 | '.MuiToggleButton-root': { | 27 | '.MuiToggleButton-root': { |
28 | fontSize: '1rem', | 28 | fontSize: '1rem', |
29 | lineHeight: '1.5', | 29 | lineHeight: '1.5', |
30 | // Must remove margin along with the border to avoid the button | ||
31 | // moving around (into the space of the missing border) when selected. | ||
32 | margin: '0', | ||
30 | border: 'none', | 33 | border: 'none', |
31 | ...(hideLabel ? {} : { paddingBlock: 6 }), | 34 | ...(hideLabel ? {} : { paddingBlock: 6 }), |
32 | '&::before': { | 35 | '&::before': { |