Skip to content

Commit e58259b

Browse files
committed
Added responsive styles for mobile testing.
1 parent f67256d commit e58259b

15 files changed

+29
-14
lines changed

examples/_stylesheet.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,19 @@ input[type=button] {
8888
}
8989
input[type=button]:hover {
9090
background: #dadada;
91+
}
92+
93+
@media only screen and (max-width : 320px) {
94+
#wrapper {
95+
margin: 0;
96+
}
97+
h1 {
98+
margin: 20px;
99+
}
100+
.demo {
101+
padding: 20px;
102+
-webkit-border-radius: 0;
103+
-moz-border-radius: 0;
104+
border-radius: 0;
105+
}
91106
}

examples/api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/cities.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/confirm.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/contacts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/customization.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/dynamic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/events.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/github.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/lock.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/movies.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/performance.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

examples/plugins.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
<title>Selectize.js Demo</title>
1010
<meta name="description" content="">
11-
<meta name="viewport" content="width=device-width">
11+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
1212
<link rel="stylesheet" href="_normalize.css">
1313
<link rel="stylesheet" href="_stylesheet.css">
1414
<link rel="stylesheet" href="../selectize.css">

tests/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
66
<title>Selectize.js Tests</title>
77
<meta name="description" content="">
8-
<meta name="viewport" content="width=device-width">
8+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
99
<link rel="stylesheet" href="../examples/_normalize.css">
1010
<link rel="stylesheet" href="vendor/mocha.css">
1111
<link rel="stylesheet" href="../selectize.css">

0 commit comments

Comments
 (0)