From 8379cde52368d661bd2d1aafb2290cd0e78e0cd8 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Mon, 10 Oct 2022 13:56:00 +0200 Subject: [PATCH] Better rendering of editor overlay --- src/components/VisualEditor.vue | 41 +++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/src/components/VisualEditor.vue b/src/components/VisualEditor.vue index 673c0a7f1..723acb415 100644 --- a/src/components/VisualEditor.vue +++ b/src/components/VisualEditor.vue @@ -28,14 +28,18 @@

Welcome!

-

What you are seeing in this area of the {{ $config.appName }} is the visual model builder.

-

You can start building your model by dragging collections, processes etc. from the left area and dropping them here.

-

Alternatively, you can also import existing processes into the model builder:

-
    -
  • Paste the JSON from your clipboard by clicking or use CTRL + V (Windows, Linux) or + V (MacOS) when the model builder is in focus.
  • -
  • Drag and drop a JSON file from your computer
  • -
  • Import a JSON file from your computer or another source such as the internet by clicking
  • -
+

+ What you are seeing in this area of the {{ $config.appName }} is the visual model builder. + You can start building your model by dragging collections, processes etc. from the left area and dropping them here. +

+

+ Alternatively, you can also import existing processes into the model builder: +

    +
  • Paste the JSON from your clipboard by clicking or use CTRL + V (Windows, Linux) or + V (MacOS) when the model builder is in focus.
  • +
  • Drag and drop a JSON file from your computer
  • +
  • Import a JSON file from your computer or another source such as the internet by clicking
  • +
+

You can also import the processes from the Python and R client. You need to export your process to JSON first: @@ -649,8 +653,25 @@ export default { box-sizing: border-box; line-height: 1.33em; - > p:first-of-type { - margin-top: 0; + > h2 { + font-size: 1.2em; + text-align: center; + border-bottom: 0; + margin-bottom: 0.5em; + padding: 0; + } + > p { + margin: 0.5em 0; + + > ul { + margin: 0.25em 0; + } + &:first-of-type { + margin-top: 0; + } + &:last-of-type { + margin-bottom: 0; + } } }