This commit is contained in:
Mark Otto 2016-11-26 00:40:17 -08:00
parent 3606c5b9c5
commit e953d5d4f0
14 changed files with 43 additions and 21 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;

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

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;

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

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;

Binary file not shown.