fix: display nested environment value in tooltip
This commit is contained in:
@@ -146,7 +146,7 @@ a {
|
|||||||
|
|
||||||
font-size: 86%;
|
font-size: 86%;
|
||||||
|
|
||||||
kbd {
|
xmp {
|
||||||
@apply hidden;
|
@apply hidden;
|
||||||
@apply sm:inline-flex;
|
@apply sm:inline-flex;
|
||||||
@apply font-sans;
|
@apply font-sans;
|
||||||
@@ -156,6 +156,7 @@ a {
|
|||||||
@apply rounded-sm;
|
@apply rounded-sm;
|
||||||
@apply px-1;
|
@apply px-1;
|
||||||
@apply ml-1;
|
@apply ml-1;
|
||||||
|
@apply my-0;
|
||||||
@apply truncate;
|
@apply truncate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -216,9 +216,9 @@ export default defineComponent({
|
|||||||
: "bg-accentDark text-accentContrast hover:bg-accent"
|
: "bg-accentDark text-accentContrast hover:bg-accent"
|
||||||
}" v-tippy data-tippy-content="${this.getEnvName(
|
}" v-tippy data-tippy-content="${this.getEnvName(
|
||||||
this.aggregateEnvs.find((k) => k.key === envVar)?.sourceEnv
|
this.aggregateEnvs.find((k) => k.key === envVar)?.sourceEnv
|
||||||
)} <kbd>${this.getEnvValue(
|
)}<xmp>${this.getEnvValue(
|
||||||
this.aggregateEnvs.find((k) => k.key === envVar)?.value
|
this.aggregateEnvs.find((k) => k.key === envVar)?.value
|
||||||
)}</kbd>">${this.safe_tags_replace(
|
)}</xmp>">${this.safe_tags_replace(
|
||||||
this.internalValue.substring(position.start, position.end + 1)
|
this.internalValue.substring(position.start, position.end + 1)
|
||||||
)}</span>`
|
)}</span>`
|
||||||
startingPosition = position.end + 1
|
startingPosition = position.end + 1
|
||||||
|
|||||||
Reference in New Issue
Block a user