change way to fix #2013, without use table-layout:fixed

also fix #2025
This commit is contained in:
afc163 2016-06-13 15:26:39 +08:00
parent e194a044ac
commit ec21b8bb39
2 changed files with 2 additions and 3 deletions

View File

@ -23,7 +23,6 @@
text-align: left; text-align: left;
border-radius: @border-radius-base @border-radius-base 0 0; border-radius: @border-radius-base @border-radius-base 0 0;
overflow: hidden; overflow: hidden;
table-layout: fixed;
} }
th { th {

View File

@ -120,8 +120,8 @@
} }
&-nav-scroll { &-nav-scroll {
width: 99999px;
overflow: hidden; overflow: hidden;
white-space: nowrap;
} }
&-nav { &-nav {
@ -153,7 +153,7 @@
} }
.@{tab-prefix-cls}-tab { .@{tab-prefix-cls}-tab {
float: left; display: inline-block;
height: 100%; height: 100%;
margin-right: 24px; margin-right: 24px;
box-sizing: border-box; box-sizing: border-box;