button-block fix for input, closes #340

This commit is contained in:
Adam Bradley
2014-01-11 00:10:49 -06:00
parent 1f0a94a26e
commit 76d185125a
7 changed files with 18 additions and 8 deletions

3
dist/css/ionic.css vendored
View File

@@ -5486,7 +5486,8 @@ input[type="range"] {
button.button-block,
button.button-full,
.button-full > button.button {
.button-full > button.button,
input.button.button-block {
width: 100%; }
a.button {

View File

File diff suppressed because one or more lines are too long

View File

@@ -54,7 +54,6 @@ angular.module('ionic', [
// Angular deps
'ngAnimate',
'ngRoute',
'ngTouch',
'ngSanitize',
'ui.router'

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

View File

@@ -212,7 +212,8 @@
button.button-block,
button.button-full,
.button-full > button.button {
.button-full > button.button,
input.button.button-block {
width: 100%;
}

View File

@@ -426,10 +426,19 @@
<a class="button button-assertive" disabled href="#">Disabled By Attribute</a>
</p>
<hr>
<p>
<input type="submit" class="button button-block button-positive" name="op" value="input element">
<button class="button button-block button-positive">button element</button>
</p>
<p>
<a class="button button-assertive" href="index.html">Homepage</a>
</p>
<hr>
</main>
</body>