Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
chore: update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
hanspagel committed Dec 13, 2023
1 parent 4800e56 commit 42c19ac
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions demo/src/components/CodeExample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ const snippet = snippetz().print('${props.target}', '${props.client}', ${objectT
<template>
<div class="code-block">
<div class="title">
{{ target }}/{{ client }}
input
</div>
<div class="configuration" v-html="highlightedRequest" />
<div class="divider">
output
</div>
<div class="container" v-html="highlightedCode" />
</div>
</template>
Expand All @@ -57,7 +60,14 @@ const snippet = snippetz().print('${props.target}', '${props.client}', ${objectT
.title {
background: #343a40;
color: #868e96;
padding: 0.5rem 1rem calc(0.5rem + 2px);
padding: 0.75em 1rem calc(0.75em + 2px);
}
.divider {
color: #868e96;
background: #343a40;
padding: 0.75em 1rem calc(0.75em + 2px);
border-bottom: 2px solid #343a40;
}
:deep(.configuration) pre,
Expand Down

0 comments on commit 42c19ac

Please sign in to comment.