fix: update veui and refine styles

This commit is contained in:
Justineo
2021-07-19 20:12:14 +08:00
parent 9593a8c559
commit c3d26e6e80
7 changed files with 380 additions and 368 deletions

View File

@@ -98,6 +98,8 @@ export default {
.demo
border 1px solid #eee
border-top-left-radius 4px
border-top-right-radius 4px
padding 30px
.desc
@@ -106,12 +108,16 @@ export default {
background-color #fcfcfc
.source
overflow hidden
transition height 0.3s
& >>> pre
margin-top 0
margin-bottom 0
.expanded &
border-radius 0
.desc
.source >>> pre
.toggle
@@ -126,6 +132,8 @@ export default {
width 100%
height 40px
border 1px solid #eee
border-bottom-left-radius 4px
border-bottom-right-radius 4px
background-color #fff
transition background-color 0.3s
outline none

View File

@@ -122,7 +122,7 @@ export default {
width 100%
height 100%
::v-deep .veui-menu-tree-wrapper
& >>> .veui-menu-tree-wrapper
display flex
flex-direction column
flex-grow 1
@@ -132,7 +132,7 @@ export default {
.veui-menu-tree
overflow auto
::v-deep .DocSearch
& >>> .DocSearch
margin 0
border-radius 6px
font inherit
@@ -177,6 +177,7 @@ export default {
.filter
margin 20px 0 20px 20px
height 36px
.search
display block