Skip to content

Commit

Permalink
Improve doc live and code examples display
Browse files Browse the repository at this point in the history
  • Loading branch information
MisRob committed Sep 26, 2024
1 parent dacae5d commit 8724a68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/common/DocsShow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<style lang="scss" scoped>
.show {
margin: 8px;
margin: 16px 0;
border: 1px solid #dedede;
border-radius: 4px;
}
Expand Down
4 changes: 2 additions & 2 deletions docs/common/DocsShowCode/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>

<DocsShow :block="block" :padding="false">
<DocsShow :block="block" :padding="false" class="docs-show-code">
<!-- Note that slot contents are HTML-escaped using webpack-loader.js -->
<PrismComponent :language="language">
<slot></slot>
Expand Down Expand Up @@ -54,7 +54,7 @@
}
pre[class*='language-'] {
padding: 8px 24px;
padding: 24px;
margin: 0;
}
Expand Down

0 comments on commit 8724a68

Please sign in to comment.