Improve code block sizing

This commit is contained in:
Jake Howard 2024-05-20 17:56:30 +01:00
parent 41352a7446
commit 966d6b5aaf
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 9 additions and 7 deletions

View file

@ -213,7 +213,7 @@ background: https://images.unsplash.com/photo-1522096823084-2d1aa8411c13?q=80&w=
# Email <mdi-email-fast-outline /> # Email <mdi-email-fast-outline />
--- ---
layout: none layout: center
--- ---
```python {all|18|19|10|11-16|all|18-19|all} ```python {all|18|19|10|11-16|all|18-19|all}
@ -238,12 +238,6 @@ for user in page.subscribers.iterator():
django_rq.enqueue(send_email_to_user, user) django_rq.enqueue(send_email_to_user, user)
``` ```
<style>
.slidev-page, .slidev-code-wrapper, .slidev-code {
height: 100%;
}
</style>
--- ---
layout: center layout: center
--- ---

View file

@ -1,3 +1,11 @@
:root {
--slidev-code-padding: 1rem;
/* 3px larger than defaults */
--slidev-code-font-size: 15px;
--slidev-code-line-height: 21px;
}
.slidev-layout { .slidev-layout {
background: #0c4b33 background: #0c4b33
} }