Skip to content

Commit c104441

Browse files
committed
fix(scroll-nav-bar): inline-block element should have vertical-align top
#427
1 parent bb94f54 commit c104441

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/scroll-nav-bar/scroll-nav-bar.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
text-align: center
157157
.cube-scroll-content
158158
display: inline-block
159+
vertical-align: top
159160
.cube-scroll-nav-bar-items
160161
white-space: nowrap
161162
.cube-scroll-nav-bar_vertical
@@ -168,6 +169,7 @@
168169
font-size: $fontsize-medium
169170
.cube-scroll-nav-bar-item
170171
display: inline-block
172+
vertical-align: top
171173
padding: 20px 15px
172174
.cube-scroll-nav-bar-item_active
173175
color: $scroll-nav-active-color

0 commit comments

Comments
 (0)