fix: 解决右侧代码过长时不缩放啥也做不了的 bug
This commit is contained in:
parent
44be35b5ce
commit
916e93ab2e
@ -45,9 +45,9 @@
|
|||||||
<el-button class="float-right" text type="primary" @click="copy(item.code)">
|
<el-button class="float-right" text type="primary" @click="copy(item.code)">
|
||||||
{{ t('common.copy') }}
|
{{ t('common.copy') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<div>
|
<el-scrollbar height="600px">
|
||||||
<pre><code v-dompurify-html="highlightedCode(item)" class="hljs"></code></pre>
|
<pre><code v-dompurify-html="highlightedCode(item)" class="hljs"></code></pre>
|
||||||
</div>
|
</el-scrollbar>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
Loading…
Reference in New Issue
Block a user