Skip to content

Commit 340a4ad

Browse files
authored
fix(docs): add scoped to style tags (#1620)
1 parent 77247ff commit 340a4ad

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/sites/demos/mobile-first/app/steps/slot-bottom.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default {
5959
}
6060
</script>
6161

62-
<style>
62+
<style scoped>
6363
/* 文本超出两行显示...,IE下不支持 */
6464
.multi-line {
6565
display: -webkit-box;

examples/sites/demos/pc/app/flowchart/basic-usage-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function onClickBlank(param, e) {
242242
}
243243
</script>
244244
245-
<style>
245+
<style scoped>
246246
/* HandlerList */
247247
.tiny-handler-list {
248248
width: calc(100% - 2px);

examples/sites/demos/pc/app/flowchart/basic-usage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export default {
249249
}
250250
</script>
251251
252-
<style>
252+
<style scoped>
253253
/* HandlerList */
254254
.tiny-handler-list {
255255
width: calc(100% - 2px);

examples/sites/demos/pc/app/time-line/shape.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default {
3838
}
3939
</script>
4040

41-
<style>
41+
<style scoped>
4242
.tiny-button {
4343
margin-bottom: 24px;
4444
}

examples/sites/demos/pc/app/time-line/status.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default {
4444
}
4545
</script>
4646

47-
<style>
47+
<style scoped>
4848
code {
4949
color: #476582;
5050
padding: 2px 8px;

0 commit comments

Comments
 (0)