mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-16 15:03:03 +00:00
fix: make code blocks match height
This commit is contained in:
parent
dcc821bc3c
commit
1c3f3e5696
2 changed files with 14 additions and 3 deletions
|
@ -381,6 +381,16 @@ select {
|
|||
border: 0;
|
||||
}
|
||||
|
||||
.code-row-wrapper {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.code-box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.code {
|
||||
font-size: 90%;
|
||||
padding: 1rem 1.5rem;
|
||||
|
@ -391,6 +401,7 @@ select {
|
|||
min-height: 280px;
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
code[class*="language-"], pre[class*="language-"] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue