example(stepper): fix demo style bug
This commit is contained in:
parent
f135b08d58
commit
14831c6b04
|
|
@ -300,7 +300,7 @@ selector-active-color = color-primary
|
|||
selector-zindex = 1102
|
||||
|
||||
// stepper
|
||||
stepper-fill = color-primary-background
|
||||
stepper-fill = color-bg-base
|
||||
stepper-disabled-opacity = opacity-disabled
|
||||
stepper-color = color-text-base
|
||||
stepper-font-size = font-body-large
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
<template>
|
||||
<div class="md-example stepper">
|
||||
<section class="md-example-section" v-for="(demo, index) in demos" :key="index">
|
||||
<div class="md-example-title" v-html="demo.title || '基础'"></div>
|
||||
<div class="md-example-describe" v-html="demo.describe"></div>
|
||||
<div class="md-example-content">
|
||||
<component :is="demo"></component>
|
||||
</div>
|
||||
|
|
@ -22,8 +24,5 @@ export default {...createDemoModule('stepper', [Demo0, Demo1, Demo2, Demo3, Demo
|
|||
<style lang="stylus" scoped>
|
||||
.md-example-section
|
||||
position relative
|
||||
margin 0 !important
|
||||
hairline(bottom, color-border-base)
|
||||
.md-example-content
|
||||
margin 0 !important
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue