Skip to content

Commit

Permalink
ui: Move parameter descriptions just below their entry boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
gwhitney committed Oct 25, 2024
1 parent 284735a commit b086a29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/components/ParamField.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<template>
<div style="margin-bottom: 32px">
<p
v-if="!param.hideDescription && param.description"
class="param-description">
{{ param.description }}
</p>
<div class="input-container">
<label>
{{ param.displayName }}
Expand Down Expand Up @@ -50,6 +45,11 @@
<div class="desc-tooltip-text">{{ param.description }}</div>
</div>
</div>
<p
v-if="!param.hideDescription && param.description"
class="param-description">
{{ param.description }}
</p>
<p v-for="error in status.errors" :key="error" class="error-message">
{{ error }}
</p>
Expand Down
4 changes: 2 additions & 2 deletions src/visualizers/Turtle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ in pixels.
visibleDependency: 'pathLook',
visibleValue: true,
},
/**
/** md
- Background color: The color of the visualizer canvas.
**/
bgColor: {
Expand All @@ -237,7 +237,7 @@ in pixels.
visibleDependency: 'pathLook',
visibleValue: true,
},
/**
/** md
- Stroke color: The color used for drawing the path.
**/
strokeColor: {
Expand Down

0 comments on commit b086a29

Please sign in to comment.