Skip to content

Commit

Permalink
Update demo helpers, use shared styles in demos [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Dec 28, 2017
1 parent 949f252 commit cdfe9da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"iron-test-helpers": "^2.0.0",
"vaadin-button": "^2.0.0",
"web-component-tester": "^6.1.5",
"vaadin-demo-helpers": "^1.0.0"
"vaadin-demo-helpers": "^1.2.0"
}
}
3 changes: 1 addition & 2 deletions demo/dialog-basic-demos.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<dom-module id="dialog-basic-demos">
<template>
<style>
<style include="vaadin-component-demo-shared-styles">
:host {
display: block;
}

</style>


Expand Down
8 changes: 3 additions & 5 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
<title>vaadin-dialog Examples</title>
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>

<style>
body {
font-family: sans-serif;
}
</style>
<custom-style>
<style include="vaadin-component-demo-shared-styles"></style>
</custom-style>
</head>

<body>
Expand Down

0 comments on commit cdfe9da

Please sign in to comment.