0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00
This commit is contained in:
Heinrich Fenkart 2014-10-22 21:04:18 +02:00
parent e1d40f7633
commit 2bc5277b44
11 changed files with 15 additions and 9 deletions

View File

@ -2245,6 +2245,7 @@ table th[class*="col-"] {
background-color: #ebcccc; background-color: #ebcccc;
} }
.table-responsive { .table-responsive {
min-height: 0;
overflow-x: auto; overflow-x: auto;
} }
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -223,6 +223,8 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
else $parent.find('.active').removeClass('active') else $parent.find('.active').removeClass('active')
} }
if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change') if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
} else {
this.$element.attr('aria-pressed', !this.$element.hasClass('active'))
} }
if (changed) this.$element.toggleClass('active') if (changed) this.$element.toggleClass('active')

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2245,6 +2245,7 @@ table th[class*="col-"] {
background-color: #ebcccc; background-color: #ebcccc;
} }
.table-responsive { .table-responsive {
min-height: 0;
overflow-x: auto; overflow-x: auto;
} }
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -223,6 +223,8 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
else $parent.find('.active').removeClass('active') else $parent.find('.active').removeClass('active')
} }
if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change') if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
} else {
this.$element.attr('aria-pressed', !this.$element.hasClass('active'))
} }
if (changed) this.$element.toggleClass('active') if (changed) this.$element.toggleClass('active')

File diff suppressed because one or more lines are too long