Skip to content

Commit 2ca87d9

Browse files
committed
fix(tab-bar): update hide-on-scroll test sample
1 parent cacab99 commit 2ca87d9

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

  • core/src/components/tab-bar/test/hide-on-scroll

core/src/components/tab-bar/test/hide-on-scroll/index.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
<ion-tabs>
2020
<div class="ion-page">
2121
<ion-content>
22-
<div class="spacer">
22+
<div class="spacer"></div>
23+
<div class="info">
2324
<p>Scroll down to hide the tab bar, scroll up to show it.</p>
2425
<p><strong>Requirements:</strong></p>
2526
<ul>
@@ -64,7 +65,13 @@
6465
background: linear-gradient(to bottom, #e0f7fa, #80deea, #26c6da, #00acc1, #00838f);
6566
}
6667

67-
.spacer p {
68+
.info {
69+
position: fixed;
70+
top: 30px;
71+
left: 30px;
72+
}
73+
74+
.info p {
6875
margin-bottom: 12px;
6976
font-size: 16px;
7077
color: #333;

0 commit comments

Comments
 (0)