Skip to content

Commit

Permalink
fix(header): Header input too long on Android 4.2, closes #1081
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Apr 8, 2014
1 parent cb1a5f6 commit b654e02
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scss/_bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@

input {
padding-left: 8px;
width: 94%;
height: 28px;
background: transparent;
}
}
}
Expand Down
16 changes: 16 additions & 0 deletions test/html/search-ios7.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<title>Search</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<link href="../../dist/css/ionic.css" rel="stylesheet">
<style>
.bar {
position: relative;
top: 0;
}
</style>
</head>
<body class="platform-ios7">

Expand All @@ -19,6 +25,16 @@
</button>
</header>

<div class="bar bar-header item-input-inset">
<label class="item-input-wrapper">
<i class="icon ion-ios7-search placeholder-icon"></i>
<input type="search" placeholder="Search">
</label>
<button class="button button-clear">
取消
</button>
</div>

</section>

</body>
Expand Down

0 comments on commit b654e02

Please sign in to comment.