Skip to content

Commit

Permalink
add global useful style to storybook and remove useless style from co…
Browse files Browse the repository at this point in the history
…mponent
  • Loading branch information
zegonz authored and rhuille committed Apr 9, 2020
1 parent b575483 commit 21a9455
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous" />
<style>
*, *:before, *:after {
box-sizing: border-box;
}
html {
font-family: Montserrat, sans-serif;
}
</style>
1 change: 0 additions & 1 deletion src/components/ListUniqueValues.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ export default class ListUniqueValues extends Vue {
}
.list-unique-values__search-box {
box-sizing: border-box;
padding: 5px;
margin: 10px 0px;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion stories/list-unique-values.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ stories.add('default', () => ({
loaded: false,
}
},
template: `<div style="font-family: 'Montserrat', sans-serif;"><ListUniqueValues :loaded="loaded" :filter="filter" @input="filter = $event" :options="options"/></div>`,
template: `<div><ListUniqueValues :loaded="loaded" :filter="filter" @input="filter = $event" :options="options"/></div>`,
}));

0 comments on commit 21a9455

Please sign in to comment.