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:
@@ -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