Improve code block sizing
This commit is contained in:
parent
41352a7446
commit
966d6b5aaf
2 changed files with 9 additions and 7 deletions
|
@ -213,7 +213,7 @@ background: https://images.unsplash.com/photo-1522096823084-2d1aa8411c13?q=80&w=
|
|||
# Email <mdi-email-fast-outline />
|
||||
|
||||
---
|
||||
layout: none
|
||||
layout: center
|
||||
---
|
||||
|
||||
```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)
|
||||
```
|
||||
|
||||
<style>
|
||||
.slidev-page, .slidev-code-wrapper, .slidev-code {
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
---
|
||||
layout: center
|
||||
---
|
||||
|
|
|
@ -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 {
|
||||
background: #0c4b33
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue