diff options
author | Kristóf Marussy <kristof@marussy.com> | 2024-02-23 19:12:36 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2024-02-23 19:13:28 +0100 |
commit | e94a21beb1e7c431686cce23c7c3ac6be3029f2b (patch) | |
tree | 117c4d1dcf78929bde023e71a6e50f68817e24b7 | |
parent | feat(frontend): graph export formal selector (diff) | |
download | refinery-e94a21beb1e7c431686cce23c7c3ac6be3029f2b.tar.gz refinery-e94a21beb1e7c431686cce23c7c3ac6be3029f2b.tar.zst refinery-e94a21beb1e7c431686cce23c7c3ac6be3029f2b.zip |
fix(frontend): top button styling
-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': { |