Skip to content

Commit

Permalink
Fix histoire overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Jun 21, 2023
1 parent 67b536f commit cf5939d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/histoire.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[data-v-app] {
display: contents;
}

.__histoire-render-story:not(.__histoire-render-custom-controls) {
overflow: initial;
min-height: none;
}
1 change: 1 addition & 0 deletions components/histoire.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineSetupVue3 } from '@histoire/plugin-vue';
import { createI18n } from 'vue-i18n';
import { createMemoryHistory, createRouter } from 'vue-router';

import './histoire.css';
import './src/theme/main.css';

export const setupVue3 = defineSetupVue3(({ app }) => {
Expand Down

0 comments on commit cf5939d

Please sign in to comment.