Skip to content

Commit 3ca4354

Browse files
committed
Hide Smarterer test link at lower viewports
The Smarterer widget and page aren't responsive, so this hides the link when at lower viewports. Refs: #203
1 parent 3092a45 commit 3ca4354

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

client/stylesheets/foundation/_tools.sass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565

6666
.db--m
6767
display: block !important
68+
.di--m
69+
display: inline !important
6870
.dn--m
6971
display: none !important
7072

views/resources/index.jade

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ block content
1616
h1 Free Resources
1717
p.mbf.tcs
1818
| Here is a curated list of a few places you can start learning
19-
| JavaScript for free. If you already know JavaScript and want to see
20-
| how good you are, you might consider taking a quick
21-
a.smarterer_test_link(href='//smarterer.com/tests/javascript/run?wuid=mzuyndvhnj') Smarterer assessment
22-
| .
19+
| JavaScript for free.
20+
span.dn.di--m
21+
| If you already know JavaScript and want to see
22+
| how good you are, you might consider taking a quick
23+
a.smarterer_test_link(href='//smarterer.com/tests/javascript/run?wuid=mzuyndvhnj') Smarterer assessment
24+
| .
2325

2426
ul.list.list--l.list--divided.list--divided--l
2527

0 commit comments

Comments
 (0)