Commit 2c1d4e5afb015d9fb2cfffd02bff9ea51591593a

Authored by 梁灏
1 parent 0baa35a0

update Tooltip style

examples/routers/progress.vue
1 1 <template>
2   - <div>
3   - <Progress :percent="25"></Progress>
4   - <br><br>
5   - <Progress :percent="25" :success-percent="10"></Progress>
  2 + <div style="height: 300px;">
  3 + <Progress vertical :percent="25"></Progress>
  4 + <Progress vertical :percent="45" status="active"></Progress>
  5 + <Progress vertical :percent="65" status="wrong"></Progress>
  6 + <Progress vertical :percent="100"></Progress>
  7 + <Progress vertical :percent="25" hide-info></Progress>
6 8 </div>
7 9 </template>
8 10 <script>
... ...
src/styles/components/tooltip.less
... ... @@ -15,6 +15,7 @@
15 15 &-rel{
16 16 display: inline-block;
17 17 position: relative;
  18 + width: inherit;
18 19 }
19 20  
20 21 &-popper{
... ...