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:
1 parent
6c49d6ba8e
commit
facd4f6ac4
4 files changed
+34
-11
No files matched your search
@@ -273,6 +273,12 @@ header {
|
||||
body.has-results & {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&.hide-permalink .permalink,
|
||||
&.hide-permalink .download::after,
|
||||
&.hide-download .download {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user