mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
button-block fix for input, closes #340
This commit is contained in:
3
dist/css/ionic.css
vendored
3
dist/css/ionic.css
vendored
@@ -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 {
|
||||
|
||||
4
dist/css/ionic.min.css
vendored
4
dist/css/ionic.min.css
vendored
File diff suppressed because one or more lines are too long
1
dist/js/ionic-angular.js
vendored
1
dist/js/ionic-angular.js
vendored
@@ -54,7 +54,6 @@ angular.module('ionic', [
|
||||
|
||||
// Angular deps
|
||||
'ngAnimate',
|
||||
'ngRoute',
|
||||
'ngTouch',
|
||||
'ngSanitize',
|
||||
'ui.router'
|
||||
|
||||
2
dist/js/ionic-angular.min.js
vendored
2
dist/js/ionic-angular.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/ionic.min.js
vendored
4
dist/js/ionic.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -212,7 +212,8 @@
|
||||
|
||||
button.button-block,
|
||||
button.button-full,
|
||||
.button-full > button.button {
|
||||
.button-full > button.button,
|
||||
input.button.button-block {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user