Skip to content

Commit

Permalink
Optimize console style (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
nighca authored Aug 26, 2024
1 parent 736a0bb commit 3d5b8f0
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions spx-gui/src/components/project/runner/RunnerContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
:class="`message message-${type}`"
>
<span class="time">{{ time }}</span>
<span>{{ message }}</span>
<pre class="content">{{ message }}</pre>
</div>
</div>
</div>
Expand Down Expand Up @@ -221,16 +221,20 @@ button {
}
.console {
padding-top: 8px;
padding: var(--ui-gap-middle);
flex-direction: column-reverse;
display: flex;
.message {
font-family: monospace;
font-size: smaller;
display: flex;
gap: var(--ui-gap-middle);
font-family: var(--ui-font-family-code);
.time {
flex: 0 0 auto;
opacity: 0.5;
padding-left: 0.5em;
padding-right: 0.5em;
}
.content {
flex: 1 1 0;
text-wrap: wrap;
}
}
.message-warn {
Expand Down

0 comments on commit 3d5b8f0

Please sign in to comment.