summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-31 01:59:01 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-31 01:59:01 +0200
commit802f8929993713865eadfc3348bd386c2984689e (patch)
treea69ef9a44e74d7d382ed698ac7b314f8d7e76d55
parent4af1e35e7bda7fd54f06da81c2fc6d367d38c102 (diff)
padding
-rw-r--r--components/tweaks.tsx8
-rw-r--r--pages/_app.tsx4
2 files changed, 10 insertions, 2 deletions
diff --git a/components/tweaks.tsx b/components/tweaks.tsx
index 34421f1..394c005 100644
--- a/components/tweaks.tsx
+++ b/components/tweaks.tsx
@@ -128,7 +128,13 @@ export const Tweaks = (props: TweakProps) => {
position="relative"
boxShadow="xl"
>
- <Box display="flex" justifyContent="space-between" alignItems="center" paddingRight={2}>
+ <Box
+ display="flex"
+ justifyContent="space-between"
+ alignItems="center"
+ paddingRight={2}
+ paddingTop={1}
+ >
<Tooltip label={'Switch to ' + threeDim ? '2D' : '3D' + ' view'}>
<Button onClick={() => setThreeDim(!threeDim)} variant="ghost" zIndex="overlay">
{threeDim ? '3D' : '2D'}
diff --git a/pages/_app.tsx b/pages/_app.tsx
index 5b96bd0..ab05e26 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -180,11 +180,13 @@ function SubApp(props: any) {
container: {
marginTop: '10px',
borderWidth: '0px',
- paddingRight: '10px',
_last: {
borderWidth: '0px',
},
},
+ panel: {
+ marginRight: '10px',
+ },
},
},
Slider: {