mirror of
https://github.com/cupcakearmy/nicco.io.git
synced 2024-11-11 05:44:10 +01:00
padding for background
This commit is contained in:
parent
1cd6aa0465
commit
a4abead273
@ -30,6 +30,10 @@
|
|||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
{@html content}
|
||||||
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
div :global(.alignfull) {
|
div :global(.alignfull) {
|
||||||
width: calc(100vw - 6em);
|
width: calc(100vw - 6em);
|
||||||
@ -97,8 +101,8 @@
|
|||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
margin-left: -0.7rem;
|
margin-left: -0.7rem;
|
||||||
}
|
}
|
||||||
</style>
|
|
||||||
|
|
||||||
<div>
|
div :global(p.has-background) {
|
||||||
{@html content}
|
padding: 0.5em;
|
||||||
</div>
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user