Hide "Run" button when appropriate and "none" language caption.

This commit is contained in:
Dominik Picheta 2018-05-14 12:37:15 +01:00
commit 53ed3717b8

View file

@ -356,6 +356,17 @@ blockquote {
@extend .toast-success;
}
.code {
// Don't show the "none".
&[data-lang="none"]::before {
content: "";
}
&:not([data-lang="Nim"]) > .code-buttons {
display: none;
}
}
.information {
@extend .tile;
border-top: 1px solid $border-color;