Skip to content

Commit 9bddb57

Browse files
committed
fix(client): close #37, use scoped style
BREAKING CHANGE: This plugin's components will use scoped style, see https://vue-loader.vuejs.org/guide/scoped-css.html#scoped-css
1 parent 881cd90 commit 9bddb57

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/client/DemoAndCode.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,12 @@ export default {
153153
</script>
154154

155155
<style lang="stylus">
156-
157156
html {
158157
scroll-behavior: smooth;
159158
}
159+
</style>
160160

161+
<style lang="stylus" scoped>
161162
.demo-and-code-wrapper {
162163
padding: 20px 0;
163164

src/client/OnlineEdit.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default {
110110
}
111111
</script>
112112

113-
<style lang="stylus">
113+
<style lang="stylus" scoped>
114114
.demo-and-code-online-edit-wrapper {
115115
display: inline-block;
116116

0 commit comments

Comments
 (0)