Remove margin of first and last paragraphs in cards.

This commit is contained in:
Madeorsk 2024-07-14 19:03:56 +02:00
parent 7e58785c85
commit f3c8a9858b
Signed by: Madeorsk
SSH key fingerprint: SHA256:J9G0ofIOLKf7kyS2IfrMqtMaPdfsk1W02+oGueZzDDU

View file

@ -15,6 +15,14 @@
margin: 0.33em 0 0.5em 0;
}
> p
{
&:first-child
{ margin-top: auto; }
&:last-child
{ margin-bottom: auto; }
}
&.floating
{
width: 20em;