diff options
author | 2023-08-31 01:47:46 +0200 | |
---|---|---|
committer | 2023-08-31 12:40:54 +0200 | |
commit | cd5162fc1bba739e9c32dcbf048e51a0a8903d11 (patch) | |
tree | 65e18ac744c308706d1690b9d4c81b2e02516ec0 /subprojects/frontend/src/TopBar.tsx | |
parent | feat(frontend): implement grid view (diff) | |
download | refinery-cd5162fc1bba739e9c32dcbf048e51a0a8903d11.tar.gz refinery-cd5162fc1bba739e9c32dcbf048e51a0a8903d11.tar.zst refinery-cd5162fc1bba739e9c32dcbf048e51a0a8903d11.zip |
refactor(frontend): pane button theme
Diffstat (limited to 'subprojects/frontend/src/TopBar.tsx')
-rw-r--r-- | subprojects/frontend/src/TopBar.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/subprojects/frontend/src/TopBar.tsx b/subprojects/frontend/src/TopBar.tsx index c22ca8b1..cfeab6d7 100644 --- a/subprojects/frontend/src/TopBar.tsx +++ b/subprojects/frontend/src/TopBar.tsx | |||
@@ -109,7 +109,6 @@ export default observer(function TopBar(): JSX.Element { | |||
109 | direction="row" | 109 | direction="row" |
110 | alignItems="center" | 110 | alignItems="center" |
111 | sx={{ | 111 | sx={{ |
112 | py: 0.5, | ||
113 | position: 'absolute', | 112 | position: 'absolute', |
114 | top: 0, | 113 | top: 0, |
115 | bottom: 0, | 114 | bottom: 0, |
@@ -120,7 +119,13 @@ export default observer(function TopBar(): JSX.Element { | |||
120 | <PaneButtons themeStore={themeStore} hideLabel={!large} /> | 119 | <PaneButtons themeStore={themeStore} hideLabel={!large} /> |
121 | </Stack> | 120 | </Stack> |
122 | )} | 121 | )} |
123 | <Stack direction="row" marginLeft={1} marginRight={1} gap={1}> | 122 | <Stack |
123 | direction="row" | ||
124 | marginLeft={1} | ||
125 | marginRight={1} | ||
126 | gap={1} | ||
127 | alignItems="center" | ||
128 | > | ||
124 | <GenerateButton editorStore={editorStore} hideWarnings={!veryLarge} /> | 129 | <GenerateButton editorStore={editorStore} hideWarnings={!veryLarge} /> |
125 | {large && ( | 130 | {large && ( |
126 | <IconButton | 131 | <IconButton |