Skip to content

Commit ee3c733

Browse files
author
Florian Kissling
committed
First sloppy fixes for IE8; include respond.js for IE8 as recommended at http://getbootstrap.com/getting-started/#browsers.
1 parent c6f84be commit ee3c733

File tree

10 files changed

+26
-4
lines changed

10 files changed

+26
-4
lines changed

_jekyll/_includes/head.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@
55
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/css/bootstrap-glyphicons.css">
66
<link rel="stylesheet" href="select2-bootstrap.css">
77
<link rel="stylesheet" href="gh-pages.css">
8+
<!--[if lt IE 9]>
9+
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.2.0/respond.js"></script>
10+
<![endif]-->
811
</head>

_jekyll/select2-bootstrap.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
* Adjust Select2 input heights to match the Bootstrap default.
3838
*/
3939
.select2-container .select2-choice,
40-
.select2-container-multi .select2-choices {
40+
.select2-container-multi .select2-choices,
41+
.select2-container .select2-arrow {
4142
min-height: 34px;
4243
line-height: 35px;
4344
}

docs/3.3.2.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/css/bootstrap-glyphicons.css">
88
<link rel="stylesheet" href="select2-bootstrap.css">
99
<link rel="stylesheet" href="gh-pages.css">
10+
<!--[if lt IE 9]>
11+
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.2.0/respond.js"></script>
12+
<![endif]-->
1013
</head>
1114

1215
<body>

docs/3.4.1.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/css/bootstrap-glyphicons.css">
88
<link rel="stylesheet" href="select2-bootstrap.css">
99
<link rel="stylesheet" href="gh-pages.css">
10+
<!--[if lt IE 9]>
11+
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.2.0/respond.js"></script>
12+
<![endif]-->
1013
</head>
1114

1215
<body>

docs/3.4.2.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/css/bootstrap-glyphicons.css">
88
<link rel="stylesheet" href="select2-bootstrap.css">
99
<link rel="stylesheet" href="gh-pages.css">
10+
<!--[if lt IE 9]>
11+
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.2.0/respond.js"></script>
12+
<![endif]-->
1013
</head>
1114

1215
<body>

docs/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/css/bootstrap-glyphicons.css">
88
<link rel="stylesheet" href="select2-bootstrap.css">
99
<link rel="stylesheet" href="gh-pages.css">
10+
<!--[if lt IE 9]>
11+
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.2.0/respond.js"></script>
12+
<![endif]-->
1013
</head>
1114

1215
<body>

docs/master.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/css/bootstrap-glyphicons.css">
88
<link rel="stylesheet" href="select2-bootstrap.css">
99
<link rel="stylesheet" href="gh-pages.css">
10+
<!--[if lt IE 9]>
11+
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.2.0/respond.js"></script>
12+
<![endif]-->
1013
</head>
1114

1215
<body>

docs/select2-bootstrap.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
* Adjust Select2 input heights to match the Bootstrap default.
3838
*/
3939
.select2-container .select2-choice,
40-
.select2-container-multi .select2-choices {
40+
.select2-container-multi .select2-choices,
41+
.select2-container .select2-arrow {
4142
min-height: 34px;
4243
line-height: 35px;
4344
}

lib/select2-bootstrap.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
*/
4141

4242
.select2-container .select2-choice,
43-
.select2-container-multi .select2-choices {
43+
.select2-container-multi .select2-choices,
44+
.select2-container .select2-arrow {
4445
min-height: $input-height-base;
4546
line-height: $input-height-base + 1px;
4647
}

select2-bootstrap.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
* Adjust Select2 input heights to match the Bootstrap default.
3838
*/
3939
.select2-container .select2-choice,
40-
.select2-container-multi .select2-choices {
40+
.select2-container-multi .select2-choices,
41+
.select2-container .select2-arrow {
4142
min-height: 34px;
4243
line-height: 35px;
4344
}

0 commit comments

Comments
 (0)