1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
This commit is contained in:
Mark Otto 2016-11-26 00:40:17 -08:00
parent 3606c5b9c5
commit e953d5d4f0
14 changed files with 48 additions and 26 deletions

View file

@ -1,3 +1,20 @@
@-ms-viewport {
width: device-width;
}
html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-overflow-style: scrollbar;
}
*,
*::before,
*::after {
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
.container {
margin-left: auto;
margin-right: auto;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1549,11 +1549,7 @@ var Dropdown = function ($) {
return;
}
var items = $.makeArray($(Selector.VISIBLE_ITEMS));
items = items.filter(function (item) {
return item.offsetWidth || item.offsetHeight;
});
var items = $(parent).find(Selector.VISIBLE_ITEMS).get();
if (!items.length) {
return;

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,20 @@
@-ms-viewport {
width: device-width;
}
html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-overflow-style: scrollbar;
}
*,
*::before,
*::after {
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
.container {
margin-left: auto;
margin-right: auto;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1549,11 +1549,7 @@ var Dropdown = function ($) {
return;
}
var items = $.makeArray($(Selector.VISIBLE_ITEMS));
items = items.filter(function (item) {
return item.offsetWidth || item.offsetHeight;
});
var items = $(parent).find(Selector.VISIBLE_ITEMS).get();
if (!items.length) {
return;

File diff suppressed because one or more lines are too long

6
js/dist/dropdown.js vendored
View file

@ -223,11 +223,7 @@ var Dropdown = function ($) {
return;
}
var items = $.makeArray($(Selector.VISIBLE_ITEMS));
items = items.filter(function (item) {
return item.offsetWidth || item.offsetHeight;
});
var items = $(parent).find(Selector.VISIBLE_ITEMS).get();
if (!items.length) {
return;

File diff suppressed because one or more lines are too long