Skip to content

Commit 0f85e8b

Browse files
committed
fixes twbs#4824: scope table grid sizes to .table instead of table
1 parent beb0b64 commit 0f85e8b

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

docs/assets/css/bootstrap.css

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,145 +1947,145 @@ table [class*=span],
19471947
margin-left: 0;
19481948
}
19491949

1950-
table .span1 {
1950+
.table .span1 {
19511951
float: none;
19521952
width: 44px;
19531953
margin-left: 0;
19541954
}
19551955

1956-
table .span2 {
1956+
.table .span2 {
19571957
float: none;
19581958
width: 124px;
19591959
margin-left: 0;
19601960
}
19611961

1962-
table .span3 {
1962+
.table .span3 {
19631963
float: none;
19641964
width: 204px;
19651965
margin-left: 0;
19661966
}
19671967

1968-
table .span4 {
1968+
.table .span4 {
19691969
float: none;
19701970
width: 284px;
19711971
margin-left: 0;
19721972
}
19731973

1974-
table .span5 {
1974+
.table .span5 {
19751975
float: none;
19761976
width: 364px;
19771977
margin-left: 0;
19781978
}
19791979

1980-
table .span6 {
1980+
.table .span6 {
19811981
float: none;
19821982
width: 444px;
19831983
margin-left: 0;
19841984
}
19851985

1986-
table .span7 {
1986+
.table .span7 {
19871987
float: none;
19881988
width: 524px;
19891989
margin-left: 0;
19901990
}
19911991

1992-
table .span8 {
1992+
.table .span8 {
19931993
float: none;
19941994
width: 604px;
19951995
margin-left: 0;
19961996
}
19971997

1998-
table .span9 {
1998+
.table .span9 {
19991999
float: none;
20002000
width: 684px;
20012001
margin-left: 0;
20022002
}
20032003

2004-
table .span10 {
2004+
.table .span10 {
20052005
float: none;
20062006
width: 764px;
20072007
margin-left: 0;
20082008
}
20092009

2010-
table .span11 {
2010+
.table .span11 {
20112011
float: none;
20122012
width: 844px;
20132013
margin-left: 0;
20142014
}
20152015

2016-
table .span12 {
2016+
.table .span12 {
20172017
float: none;
20182018
width: 924px;
20192019
margin-left: 0;
20202020
}
20212021

2022-
table .span13 {
2022+
.table .span13 {
20232023
float: none;
20242024
width: 1004px;
20252025
margin-left: 0;
20262026
}
20272027

2028-
table .span14 {
2028+
.table .span14 {
20292029
float: none;
20302030
width: 1084px;
20312031
margin-left: 0;
20322032
}
20332033

2034-
table .span15 {
2034+
.table .span15 {
20352035
float: none;
20362036
width: 1164px;
20372037
margin-left: 0;
20382038
}
20392039

2040-
table .span16 {
2040+
.table .span16 {
20412041
float: none;
20422042
width: 1244px;
20432043
margin-left: 0;
20442044
}
20452045

2046-
table .span17 {
2046+
.table .span17 {
20472047
float: none;
20482048
width: 1324px;
20492049
margin-left: 0;
20502050
}
20512051

2052-
table .span18 {
2052+
.table .span18 {
20532053
float: none;
20542054
width: 1404px;
20552055
margin-left: 0;
20562056
}
20572057

2058-
table .span19 {
2058+
.table .span19 {
20592059
float: none;
20602060
width: 1484px;
20612061
margin-left: 0;
20622062
}
20632063

2064-
table .span20 {
2064+
.table .span20 {
20652065
float: none;
20662066
width: 1564px;
20672067
margin-left: 0;
20682068
}
20692069

2070-
table .span21 {
2070+
.table .span21 {
20712071
float: none;
20722072
width: 1644px;
20732073
margin-left: 0;
20742074
}
20752075

2076-
table .span22 {
2076+
.table .span22 {
20772077
float: none;
20782078
width: 1724px;
20792079
margin-left: 0;
20802080
}
20812081

2082-
table .span23 {
2082+
.table .span23 {
20832083
float: none;
20842084
width: 1804px;
20852085
margin-left: 0;
20862086
}
20872087

2088-
table .span24 {
2088+
.table .span24 {
20892089
float: none;
20902090
width: 1884px;
20912091
margin-left: 0;

less/tables.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ table [class*=span],
180180
}
181181

182182
// Change the column widths to account for td/th padding
183-
table {
183+
.table {
184184
.span1 { .tableColumns(1); }
185185
.span2 { .tableColumns(2); }
186186
.span3 { .tableColumns(3); }

0 commit comments

Comments
 (0)