Hide "Run" button when appropriate and "none" language caption.
This commit is contained in:
parent
52f1e9c365
commit
53ed3717b8
1 changed files with 11 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue