Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
4418c828
Commit
4418c828
authored
Feb 28, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #6954: properly reset grid classes within tables
parent
bfc4aaf6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
+15
-8
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+7
-3
less/tables.less
less/tables.less
+8
-5
No files found.
docs/assets/css/bootstrap.css
View file @
4418c828
...
@@ -975,11 +975,15 @@ th {
...
@@ -975,11 +975,15 @@ th {
background-color
:
#f5f5f5
;
background-color
:
#f5f5f5
;
}
}
table
td
[
class
*=
"span"
],
table
col
[
class
^=
"span"
]
{
table
th
[
class
*=
"span"
]
{
display
:
table-column
;
float
:
none
;
}
table
td
[
class
^=
"span"
],
table
th
[
class
^=
"span"
]
{
display
:
table-cell
;
display
:
table-cell
;
float
:
none
;
float
:
none
;
margin-left
:
0
;
}
}
.table
tbody
tr
.success
>
td
{
.table
tbody
tr
.success
>
td
{
...
...
less/tables.less
View file @
4418c828
...
@@ -177,12 +177,15 @@ th {
...
@@ -177,12 +177,15 @@ th {
// TABLE CELL SIZING
// TABLE CELL SIZING
// -----------------
// -----------------
// Reset default grid behavior
// Reset default table behavior
table td[class*="span"],
table col[class^="span"] {
table th[class*="span"] {
float: none;
display: table-column;
}
table td[class^="span"],
table th[class^="span"] {
float: none;
display: table-cell;
display: table-cell;
float: none; // undo default grid column styles
margin-left: 0; // undo default grid column styles
}
}
// TABLE BACKGROUNDS
// TABLE BACKGROUNDS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment