Skip to content

Commit e7de28f

Browse files
show shortkey possibility for cycling through date ranges. #126
1 parent 369fca8 commit e7de28f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

assets/src/js/pages/dashboard.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ class Dashboard extends Component {
6767
</div>
6868
</div>
6969
</div>
70+
71+
<div class="footer hide-on-mobile">
72+
<p>Use <strong>ALT + arrow-key</strong> to cycle through date ranges.</p>
73+
</div>
7074
</section>
7175

7276
<footer class="section"></footer>

assets/src/sass/styles.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,17 @@ body {
9393
}
9494
}
9595

96+
.footer {
97+
text-align: right;
98+
margin: 20px 0;
99+
font-size: 12px;
100+
font-style: italic;
101+
}
102+
103+
.hide-on-mobile {
104+
display: none;
105+
}
106+
96107
nav li.visitors { color: #533feb; }
97108
nav li.signout a { padding-right: 0; }
98109
nav li.logo { float: left; }
@@ -142,6 +153,7 @@ body {
142153

143154
@media ( min-width: 1220px ) {
144155
nav.main-nav ul { margin-top: 24px; }
156+
.hide-on-mobile{ display: initial; }
145157

146158
.boxes { justify-content: space-between; flex-wrap: nowrap; }
147159
.box { margin: 0 4px; }

0 commit comments

Comments
 (0)