Skip to content

Commit b945e2d

Browse files
committed
docs(tooltip): 更新文档排版样式
1 parent a406074 commit b945e2d

File tree

1 file changed

+1
-35
lines changed
  • packages/docs/components/tooltip

1 file changed

+1
-35
lines changed

packages/docs/components/tooltip/index.md

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ export default defineComponent({
3636
</template>
3737
3838
<style>
39-
.demo-tooltip-basic {
40-
text-align: center;
41-
padding: 20px;
42-
}
4339
</style>
4440
```
4541

@@ -140,7 +136,7 @@ export default defineComponent({
140136
<style>
141137
.demo-tooltip-placement {
142138
width: 400px;
143-
margin: 20px auto;
139+
margin: 0 auto;
144140
}
145141
146142
.demo-tooltip-placement .top {
@@ -213,11 +209,6 @@ export default defineComponent({
213209
</template>
214210
215211
<style>
216-
.demo-tooltip-theme {
217-
text-align: center;
218-
padding: 20px;
219-
}
220-
221212
.demo-tooltip-theme .ccui-button {
222213
margin: 0 10px;
223214
}
@@ -268,11 +259,6 @@ export default defineComponent({
268259
</template>
269260
270261
<style>
271-
.demo-tooltip-content {
272-
text-align: center;
273-
padding: 20px;
274-
}
275-
276262
.demo-tooltip-content .ccui-button {
277263
margin: 0 10px;
278264
}
@@ -321,11 +307,6 @@ export default defineComponent({
321307
</template>
322308
323309
<style>
324-
.demo-tooltip-trigger {
325-
text-align: center;
326-
padding: 20px;
327-
}
328-
329310
.demo-tooltip-trigger .ccui-button {
330311
margin: 0 10px;
331312
}
@@ -368,11 +349,6 @@ export default defineComponent({
368349
</template>
369350
370351
<style>
371-
.demo-tooltip-delay {
372-
text-align: center;
373-
padding: 20px;
374-
}
375-
376352
.demo-tooltip-delay .ccui-button {
377353
margin: 0 10px;
378354
}
@@ -417,11 +393,6 @@ export default defineComponent({
417393
</template>
418394
419395
<style>
420-
.demo-tooltip-disabled {
421-
text-align: center;
422-
padding: 20px;
423-
}
424-
425396
.demo-tooltip-disabled .ccui-button {
426397
margin: 0 10px;
427398
}
@@ -466,11 +437,6 @@ export default defineComponent({
466437
</template>
467438
468439
<style>
469-
.demo-tooltip-manual {
470-
text-align: center;
471-
padding: 20px;
472-
}
473-
474440
.demo-tooltip-manual .ccui-button {
475441
margin: 0 10px;
476442
}

0 commit comments

Comments
 (0)