mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-23 15:48:44 +00:00
add code-box-log class
This commit is contained in:
parent
26380934b1
commit
f32a4bea2a
2 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div v-if="pipeline" class="flex flex-col pt-10 md:pt-0">
|
||||
<div
|
||||
class="flex flex-col flex-grow shadow md:mt-0 !p-0 !rounded-none !md:rounded-md overflow-hidden code-box"
|
||||
class="flex flex-col flex-grow shadow md:mt-0 !p-0 !rounded-none !md:rounded-md overflow-hidden code-box-log"
|
||||
@mouseover="showActions = true"
|
||||
@mouseleave="showActions = false"
|
||||
>
|
||||
|
|
|
@ -170,3 +170,8 @@ body,
|
|||
code:not(pre > code) {
|
||||
@apply bg-wp-code-inline-100 text-wp-code-inline-text-100 px-1.5 py-0.5 rounded-md;
|
||||
}
|
||||
|
||||
.code-box-log {
|
||||
@apply bg-wp-code-300 p-4 rounded-md text-sm text-wp-code-text-100 break-words;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue