Skip to content

Commit

Permalink
remove result title in form, add desc as title for text fields
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Jul 4, 2024
1 parent 0303112 commit 4d2e33d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
12 changes: 1 addition & 11 deletions src/components/AssistantTextProcessingForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@
:selected-task-type="selectedTaskType" />
<div v-if="hasOutput"
class="output">
<hr>
<label
for="assistant-output"
class="output-title">
{{ t('assistant', 'Result') }}
</label>
<TaskTypeFields
class="output-fields"
:is-output="true"
Expand Down Expand Up @@ -367,6 +361,7 @@ export default {
}
.output {
margin-top: 24px;
display: flex;
flex-direction: column;
align-items: start;
Expand All @@ -384,11 +379,6 @@ export default {
align-self: start;
font-weight: bold;
}
.output-title {
margin-top: 8px;
font-size: 24px;
font-weight: bold;
}
.output-fields {
width: 100%;
}
Expand Down
1 change: 1 addition & 0 deletions src/components/fields/TextField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
:class="{ shadowed: isOutput }"
:label="field.name"
:placeholder="field.description"
:title="field.description"
@update:value="$emit('update:value', $event)" />
<NcButton v-if="isOutput && hasValue"
class="copy-button"
Expand Down

0 comments on commit 4d2e33d

Please sign in to comment.