Skip to content

Commit

Permalink
small style improvements
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 2, 2024
1 parent d638d3a commit 8f283b0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/AssistantFormInputs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,6 @@ export default {
.assistant-inputs {
margin-bottom: 1rem;
width: 100%;
//width: 100%;
}
</style>
20 changes: 17 additions & 3 deletions src/components/AssistantTextProcessingForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@
:selected-task-type="selectedTaskType" />
<div v-if="hasOutput"
class="output">
<hr>
<label
for="assistant-output"
class="input-label">
class="output-title">
{{ t('assistant', 'Result') }}
</label>
<TaskTypeFields
Expand Down Expand Up @@ -360,22 +361,35 @@ export default {
flex-direction: column;
width: 100%;
overflow: auto;
> * {
margin-right: 6px;
}
}
.output {
display: flex;
flex-direction: column;
align-items: center;
align-items: start;
justify-content: center;
.warning-note {
align-self: normal;
}
hr {
width: 100%;
}
.input-label {
align-self: start;
font-weight: bold;
}
.output-title {
margin-top: 8px;
font-size: 24px;
font-weight: bold;
}
.output-fields {
width: 100%;
}
Expand Down Expand Up @@ -411,7 +425,7 @@ export default {
}
.footer {
width: 100%;
//width: 100%;
display: flex;
.history-button {
height: 44px;
Expand Down

0 comments on commit 8f283b0

Please sign in to comment.