From 4af1e35e7bda7fd54f06da81c2fc6d367d38c102 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Sat, 31 Jul 2021 01:52:36 +0200
Subject: more ui improvements, better defaults

---
 components/tweaks.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'components/tweaks.tsx')

diff --git a/components/tweaks.tsx b/components/tweaks.tsx
index e7653df..34421f1 100644
--- a/components/tweaks.tsx
+++ b/components/tweaks.tsx
@@ -128,7 +128,7 @@ export const Tweaks = (props: TweakProps) => {
           position="relative"
           boxShadow="xl"
         >
-          <Box display="flex" justifyContent="space-between" alignItems="center">
+          <Box display="flex" justifyContent="space-between" alignItems="center" paddingRight={2}>
             <Tooltip label={'Switch to ' + threeDim ? '2D' : '3D' + ' view'}>
               <Button onClick={() => setThreeDim(!threeDim)} variant="ghost" zIndex="overlay">
                 {threeDim ? '3D' : '2D'}
@@ -300,7 +300,7 @@ export const Tweaks = (props: TweakProps) => {
                               }
                             />
                             <EnableSection
-                              label="Keeps nodes centered"
+                              label="Center nodes"
                               value={physics.centering}
                               onChange={() =>
                                 setPhysics({ ...physics, centering: !physics.centering })
-- 
cgit v1.2.3

