diff --git a/example/stories/issues/21/BulmaButton.vue b/example/stories/issues/21/BulmaButton.vue new file mode 100644 index 0000000..e5b9b4a --- /dev/null +++ b/example/stories/issues/21/BulmaButton.vue @@ -0,0 +1,26 @@ + + + diff --git a/example/stories/issues/21/index.stories.js b/example/stories/issues/21/index.stories.js new file mode 100644 index 0000000..063f2d2 --- /dev/null +++ b/example/stories/issues/21/index.stories.js @@ -0,0 +1,17 @@ +import { storiesOf } from '@storybook/vue' + +import BulmaButton from './BulmaButton' + +storiesOf('Issues/#21', module).add( + 'Do not reset preview style', + () => ({ + components: { BulmaButton }, + template: '' + }), + { + info: { + docsInPanel: false, + summary: '' + } + } +) diff --git a/src/components/Component/style.css b/src/components/Component/style.css index 0ebc9d4..9b8cf3c 100644 --- a/src/components/Component/style.css +++ b/src/components/Component/style.css @@ -1,3 +1,7 @@ +.container { + font-family: Roboto, sans-serif; +} + .container > :not(:first-child) { margin-top: 24px; } @@ -6,9 +10,10 @@ font-size: 24px; margin: 0; + color: #333; font-weight: 400; } .required { - color: #A01A1A; + color: #a01a1a; } diff --git a/src/components/Docs/style.css b/src/components/Docs/style.css index ca5490e..b34bae1 100644 --- a/src/components/Docs/style.css +++ b/src/components/Docs/style.css @@ -6,7 +6,6 @@ left: 0; padding: 40px; - font-family: Roboto, sans-serif; overflow: auto; } diff --git a/src/components/Header/index.vue b/src/components/Header/index.vue index 5c5ba05..0300be7 100644 --- a/src/components/Header/index.vue +++ b/src/components/Header/index.vue @@ -14,7 +14,7 @@ export default {