Skip to content

Commit

Permalink
[renderer] fix code max-height in AddPreviewModal
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBldy committed Jan 25, 2022
1 parent e3158de commit 85b6499
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/main/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const createWindow = async () => {
shell: true,
encoding: 'buffer',
windowsHide: true,
timeout: 60000, // TODO : make the timeout configurable
timeout: 60000 // TODO : make the timeout configurable
})
console.log(
`Launch command "${command}" before importing to Kitsu Publisher.`
Expand Down
5 changes: 2 additions & 3 deletions app/renderer/src/components/modals/AddPreviewModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@
{{ $t('tasks.command_launched') }}
<pre><code v-html="exportCommandOutput.command" /></pre>
{{ $t('tasks.output') }}
<pre
style="max-height: 200px"
><code v-html="exportCommandOutput.output" /></pre>
<pre><code v-html="exportCommandOutput.output" /></pre>
{{ $t('tasks.return_code') }}{{ exportCommandOutput.statusCode }}
</div>

Expand Down Expand Up @@ -505,5 +503,6 @@ pre {
pre code {
padding: 10px;
max-height: 200px;
}
</style>

0 comments on commit 85b6499

Please sign in to comment.