foundation-sites icon indicating copy to clipboard operation
foundation-sites copied to clipboard

Sass for Block Quote

Open ryanvaness opened this issue 10 years ago • 2 comments

A question and a possible issue: Should the p be a q? Line 397 in foundation-sites/scss/typography/_base.scss

blockquote { margin: 0 0 $paragraph-margin-bottom; padding: $blockquote-padding; border-#{$global-left}: $blockquote-border;

&, p { /*HERE*/
  line-height: $paragraph-lineheight;
  color: $blockquote-color;
}

}

Thanks!

ryanvaness avatar Feb 23 '16 00:02 ryanvaness

It's intentional: it's meant for <p> tags used inside of block quotes. I'm not sure if you can combine <q> and <blockquote>, since they're block/inline versions of the same thing.

gakimball avatar Feb 23 '16 18:02 gakimball

Alright awesome, thanks for the clarification!

I suppose I should have checked what it compiled first ( I'm learning this sass thing for the first time xD ).

Thanks again.

ryanvaness avatar Feb 24 '16 02:02 ryanvaness