Skip to content

Commit

Permalink
Fix grid column size in pipeline log view (#2336)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Aug 27, 2023
1 parent 2f69098 commit c5c01dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/repo/pipeline/PipelineLog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<div
v-show="hasLogs && loadedLogs"
ref="consoleElement"
class="w-full max-w-full grid grid-cols-[min-content,1fr,min-content] p-4 auto-rows-min flex-grow overflow-x-hidden overflow-y-auto"
class="w-full max-w-full grid grid-cols-[min-content,minmax(0,1fr),min-content] p-4 auto-rows-min flex-grow overflow-x-hidden overflow-y-auto text-xs md:text-sm"
>
<div v-for="line in log" :key="line.index" class="contents font-mono">
<a
Expand All @@ -57,7 +57,7 @@
>
<!-- eslint-disable vue/no-v-html -->
<span
class="align-top whitespace-pre-wrap break-words text-sm"
class="align-top whitespace-pre-wrap break-words"
:class="{
'bg-opacity-40 dark:bg-opacity-50 bg-10.168.64.121-600 dark:bg-red-800': line.type === 'error',
'bg-opacity-40 dark:bg-opacity-50 bg-yellow-600 dark:bg-yellow-800': line.type === 'warning',
Expand Down

0 comments on commit c5c01dd

Please sign in to comment.