Changing how permalink and download links are hidden

Using a class name instead of setting the display CSS property. This
way, the ::after of the download link can be hidden when the permalink
is gone
This commit is contained in:
Jeff Avallone committed 2014-12-30 16:20:37 -05:00
1 parent 6c49d6ba8e
commit facd4f6ac4
4 files changed
+34 -11

No files matched your search

+6
View File
@@ -273,6 +273,12 @@ header {
body.has-results & {
display: inline-block;
}
&.hide-permalink .permalink,
&.hide-permalink .download::after,
&.hide-download .download {
display: none;
}
}
}