Browse Source

optimized scrollbar behaviour and some spaces.

alex 2 years ago
parent
commit
3a6f34af45
4 changed files with 4 additions and 2 deletions
  1. 1 1
      src/frontend/app.tsx
  2. 1 0
      src/frontend/demo_editor.tsx
  3. 1 1
      src/frontend/demo_pd.tsx
  4. 1 0
      src/frontend/welcome.tsx

+ 1 - 1
src/frontend/app.tsx

@@ -42,7 +42,7 @@ export function getApp() {
                                 <div style={{overflow: 'hidden', paddingLeft: '5px'}}>
                                 <div style={{overflow: 'hidden', paddingLeft: '5px'}}>
                                     {/* @ts-ignore */}
                                     {/* @ts-ignore */}
                                     <ScrollArea scrollbarSize='7px' style={{height: '100%'}}>
                                     <ScrollArea scrollbarSize='7px' style={{height: '100%'}}>
-                                        <div style={{paddingRight: '10px'}}>
+                                        <div style={{paddingRight: '17px'}}>
                                             <Tabs.Panel value="welcome" style={{height: '100%'}}>
                                             <Tabs.Panel value="welcome" style={{height: '100%'}}>
                                                 {demo_Welcome_description}
                                                 {demo_Welcome_description}
                                             </Tabs.Panel>
                                             </Tabs.Panel>

+ 1 - 0
src/frontend/demo_editor.tsx

@@ -63,6 +63,7 @@ export const demo_Editor_description =
         <Text>
         <Text>
             Feel free to play around with the editor and watch the changes in the other views.
             Feel free to play around with the editor and watch the changes in the other views.
         </Text>
         </Text>
+        <Space h="20px"/>
     </>;
     </>;
 
 
 export function getDemoEditor() {
 export function getDemoEditor() {

+ 1 - 1
src/frontend/demo_pd.tsx

@@ -89,7 +89,7 @@ export const demo_PD_description =
         <Resultblock>
         <Resultblock>
             In the History, you can now choose between two "Restore" actions, but they cannot be applied simultaneously due to the conflict.
             In the History, you can now choose between two "Restore" actions, but they cannot be applied simultaneously due to the conflict.
         </Resultblock>
         </Resultblock>
-
+        <Space h="20px"/>
     </>;
     </>;
 
 
 
 

+ 1 - 0
src/frontend/welcome.tsx

@@ -52,6 +52,7 @@ export const demo_Welcome_description =
         <Text>
         <Text>
             Please select one of the demos above. We recommend that you complete the demos in the order listed.
             Please select one of the demos above. We recommend that you complete the demos in the order listed.
         </Text>
         </Text>
+        <Space h="20px"/>
     </>;
     </>;