padding for background

This commit is contained in:
cupcakearmy 2021-01-27 12:42:07 +01:00
parent 1cd6aa0465
commit a4abead273
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

View File

@ -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>