add 'console' in window block
This commit is contained in:
parent
5b9396f488
commit
d487b604fa
|
@ -517,6 +517,10 @@ pre[class*="language-"] {
|
|||
.code-window {
|
||||
height: 30px;
|
||||
background: $color-code-title-background url('../images/window.svg') no-repeat center right;
|
||||
padding-left: 15px;
|
||||
font-family: Monospace;
|
||||
color: #ccc;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.body-content {
|
||||
|
|
|
@ -89,6 +89,7 @@ Code.prototype.init = function () {
|
|||
pre.classList.add('with-title')
|
||||
const win = this.window.document.createElement('div')
|
||||
win.classList.add('code-window')
|
||||
win.textContent = 'Console'
|
||||
|
||||
post.insertBefore(win, pre)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue