mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-11 09:41:36 -05:00
Set specific height of code block header
Otherwise it collapses to be too tiny if the copy button is removed.
This commit is contained in:
@@ -784,10 +784,13 @@ footer p {
|
|||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
border-top-left-radius: 8px;
|
border-top-left-radius: 8px;
|
||||||
border-top-right-radius: 8px;
|
border-top-right-radius: 8px;
|
||||||
|
height: 2em;
|
||||||
|
}
|
||||||
|
.code-block > .code-header > * {
|
||||||
|
margin: auto 0;
|
||||||
}
|
}
|
||||||
.code-block > .code-header > .code-type {
|
.code-block > .code-header > .code-type {
|
||||||
border-top-left-radius: 8px;
|
border-top-left-radius: 8px;
|
||||||
margin: auto 0;
|
|
||||||
}
|
}
|
||||||
/* TODO: make the code copy button prettier */
|
/* TODO: make the code copy button prettier */
|
||||||
.code-block > .code-header > .code-copy-button {
|
.code-block > .code-header > .code-copy-button {
|
||||||
|
Reference in New Issue
Block a user