14.4.0 • Published 11 months ago

n-content-body v14.4.0

Weekly downloads
478
License
MIT
Repository
-
Last release
11 months ago

n-content-body Circle CI

Styling for the body of content (eg. article)

Includes styling for article body elements;

  • body text
  • big numbers
  • block quotes
  • images
  • inline tags
  • pull quotes
  • related content & promo boxes
  • subheads
  • tables
  • video

plus common / utility classes used across article elements

Excludes styling for;

  • article heading styles (eg. headline, standfirst, date, byline)
  • onward journey (eg. recommended reads, more-ons, story packages)

Migration guides

v9 to v10

v10 removes the width of embedded YouTube videos, in relation to the 'n-content-video--youtube' class. This is a design decision to make embedded YouTube videos consistently full-width. If you would like to replicate the old behaviour, you will have to set the width in the consumer repo.

Below is an example of how to replicate the old behaviour:

.n-content-video--youtube {
	width: 560px;
}

v8 to v9

v9 upgrades its version of n-ui-foundations from ^4.0.0 to ^6.0.0.

Please read the n-ui-foundations v5 to v6 migration notes for details of the required amends to accommodate the v6 changes (snappy grid is no longer output as default), which explains the basis for the below change required by apps consuming this component:

  • Find and replace n-content-layout__container classes with n-content-layout__container n-content-layout__container--snappy.
-<div class="n-content-layout__container"></div>
+<div class="n-content-layout__container n-content-layout__container--snappy"></div>
14.4.0

11 months ago

14.2.0

1 year ago

14.1.0

1 year ago

14.0.1

2 years ago

14.0.0

2 years ago

13.0.0

2 years ago

13.0.1

2 years ago

12.0.0

2 years ago

11.0.2

3 years ago

11.0.1

3 years ago

9.2.0

3 years ago

9.1.0

4 years ago

9.0.0

4 years ago

8.0.0

4 years ago

7.0.4

4 years ago

7.0.3

4 years ago

7.0.2

4 years ago

7.0.1

4 years ago

7.0.0

4 years ago

6.2.4

5 years ago

6.2.3

5 years ago

6.2.2

5 years ago

6.2.1

5 years ago

6.2.0

5 years ago

6.1.1

5 years ago

6.1.0

5 years ago

6.0.0

5 years ago

5.2.0

5 years ago