trendwerk / sphynx

A light & simple WordPress starter theme 😽
16 stars 2 forks source link

Blockquote margin #775

Open luukdv opened 7 years ago

luukdv commented 7 years ago

Since blockquotes have a larger font-size, paragraphs inside them have a larger bottom margin because we use ems. To maintain consistent spacing, we could add something like the following:

blockquote {
  p {
    margin-bottom: #{$text-margin / map-get($font-sizes, 'blockquote')}em;
  }
}

https://github.com/trendwerk/sphynx/blob/master/assets/styles/base/typography/_blockquote.scss