-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(buttons): centering icons on <a> tag buttons. Closes #2074
- Loading branch information
1 parent
5605317
commit 69442d5
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<!DOCTYPE html> | ||
<html ng-app="ionic"> | ||
<head> | ||
<script src="../../dist/js/ionic.bundle.js"></script> | ||
<meta charset="utf-8"> | ||
<title>Buttons</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> | ||
body { | ||
position: absolute;; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<header class="bar bar-header bar-dark"> | ||
<h1 class="title">Buttons: <link> block w/ icons</h1> | ||
</header> | ||
|
||
<div class="content has-header padding"> | ||
<button class="button"> | ||
<i class="icon ion-loading-c"></i> Loading... | ||
</button> | ||
<br /> | ||
<button class="button icon-left ion-home">Home</button> | ||
<br /> | ||
<button class="button icon-left ion-star button-positive">Favorites</button> | ||
<br /> | ||
<a class="button icon-right ion-chevron-right button-calm">Learn More</a> | ||
<br /> | ||
<a class="button icon-left ion-chevron-left button-clear button-dark">Back</a> | ||
<br /> | ||
<button class="button icon ion-gear-a"></button> | ||
<br /> | ||
<a class="button button-icon icon ion-settings"></a> | ||
<br /> | ||
<a class="button button-outline icon-right ion-navicon button-balanced">Reorder</a> | ||
</div> | ||
|
||
</body> | ||
</html> |