Skip to content

Commit 380c3df

Browse files
committed
fix(badge): Fixed html structure.
1 parent 15d96fd commit 380c3df

File tree

1 file changed

+59
-60
lines changed

1 file changed

+59
-60
lines changed

core/src/components/badge/test/hint/index.html

Lines changed: 59 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -97,74 +97,73 @@
9797
<ion-badge color="danger" size="large" vertical="bottom"></ion-badge>
9898
</ion-avatar>
9999
</div>
100-
</div>
100+
</ion-list>
101101

102102

103-
<ion-list id="tab-button">
104-
<ion-list-header>
105-
<ion-label> Inside Tab Button </ion-label>
106-
</ion-list-header>
107-
<div class="ion-display-flex ion-align-items-center ion-justify-content-around ion-margin">
108-
109-
<ion-tab-button href="" tab="tab-one">
110-
<ion-label>Tab One</ion-label>
103+
<ion-list id="tab-button">
104+
<ion-list-header>
105+
<ion-label> Inside Tab Button </ion-label>
106+
</ion-list-header>
107+
<div class="ion-display-flex ion-align-items-center ion-justify-content-around ion-margin">
108+
109+
<ion-tab-button href="" tab="tab-one">
110+
<ion-label>Tab One</ion-label>
111+
<ion-icon name="star"></ion-icon>
112+
<ion-badge vertical="top" color="danger">9</ion-badge>
113+
</ion-tab-button>
114+
115+
<ion-tab-button tab="schedule" class="e2eTabTwoButton">
116+
<ion-label>Tab Two</ion-label>
117+
<ion-icon name="globe"></ion-icon>
118+
<ion-badge vertical="top" color="primary">
111119
<ion-icon name="star"></ion-icon>
112-
<ion-badge vertical="top" color="danger">9</ion-badge>
113-
</ion-tab-button>
114-
115-
<ion-tab-button tab="schedule" class="e2eTabTwoButton">
116-
<ion-label>Tab Two</ion-label>
117-
<ion-icon name="globe"></ion-icon>
118-
<ion-badge vertical="top" color="primary">
119-
<ion-icon name="star"></ion-icon>
120-
</ion-badge>
121-
</ion-tab-button>
122-
123-
<ion-tab-button tab="tab-three">
124-
<ion-label>Tab Three</ion-label>
125-
<ion-icon name="logo-facebook"></ion-icon>
126-
<ion-badge vertical="top" color="warning">999</ion-badge>
127-
</ion-tab-button>
128-
129-
<ion-tab-button tab="tab-four" class="e2eTabFourButton">
130-
<ion-label>Tab Four</ion-label>
131-
<ion-icon name="chatbox"></ion-icon>
132-
<ion-badge vertical="top" color="success"></ion-badge>
133-
</ion-tab-button>
120+
</ion-badge>
121+
</ion-tab-button>
122+
123+
<ion-tab-button tab="tab-three">
124+
<ion-label>Tab Three</ion-label>
125+
<ion-icon name="logo-facebook"></ion-icon>
126+
<ion-badge vertical="top" color="warning">999</ion-badge>
127+
</ion-tab-button>
128+
129+
<ion-tab-button tab="tab-four" class="e2eTabFourButton">
130+
<ion-label>Tab Four</ion-label>
131+
<ion-icon name="chatbox"></ion-icon>
132+
<ion-badge vertical="top" color="success"></ion-badge>
133+
</ion-tab-button>
134134

135-
</div>
136-
<div class="ion-display-flex ion-align-items-center ion-justify-content-around ion-margin">
137-
138-
<ion-tab-button href="" tab="tab-one">
139-
<ion-label>Tab One</ion-label>
135+
</div>
136+
<div class="ion-display-flex ion-align-items-center ion-justify-content-around ion-margin">
137+
138+
<ion-tab-button href="" tab="tab-one">
139+
<ion-label>Tab One</ion-label>
140+
<ion-icon name="star"></ion-icon>
141+
<ion-badge vertical="bottom" color="danger">9</ion-badge>
142+
</ion-tab-button>
143+
144+
<ion-tab-button tab="schedule" class="e2eTabTwoButton">
145+
<ion-label>Tab Two</ion-label>
146+
<ion-icon name="globe"></ion-icon>
147+
<ion-badge vertical="bottom" color="primary">
140148
<ion-icon name="star"></ion-icon>
141-
<ion-badge vertical="bottom" color="danger">9</ion-badge>
142-
</ion-tab-button>
143-
144-
<ion-tab-button tab="schedule" class="e2eTabTwoButton">
145-
<ion-label>Tab Two</ion-label>
146-
<ion-icon name="globe"></ion-icon>
147-
<ion-badge vertical="bottom" color="primary">
148-
<ion-icon name="star"></ion-icon>
149-
</ion-badge>
150-
</ion-tab-button>
151-
152-
<ion-tab-button tab="tab-three">
153-
<ion-label>Tab Three</ion-label>
154-
<ion-icon name="logo-facebook"></ion-icon>
155-
<ion-badge vertical="bottom" color="warning">999</ion-badge>
156-
</ion-tab-button>
157-
158-
<ion-tab-button tab="tab-four" class="e2eTabFourButton">
159-
<ion-label>Tab Four</ion-label>
160-
<ion-icon name="chatbox"></ion-icon>
161-
<ion-badge vertical="bottom" color="success"></ion-badge>
162-
</ion-tab-button>
149+
</ion-badge>
150+
</ion-tab-button>
151+
152+
<ion-tab-button tab="tab-three">
153+
<ion-label>Tab Three</ion-label>
154+
<ion-icon name="logo-facebook"></ion-icon>
155+
<ion-badge vertical="bottom" color="warning">999</ion-badge>
156+
</ion-tab-button>
157+
158+
<ion-tab-button tab="tab-four" class="e2eTabFourButton">
159+
<ion-label>Tab Four</ion-label>
160+
<ion-icon name="chatbox"></ion-icon>
161+
<ion-badge vertical="bottom" color="success"></ion-badge>
162+
</ion-tab-button>
163163

164-
</div>
165164
</div>
166-
167165
</ion-list>
166+
168167
</ion-content>
169168
</ion-app>
170169
</body>

0 commit comments

Comments
 (0)