diff --git a/styleguide/components/Navigation/Navigation.js b/styleguide/components/Navigation/Navigation.js index 764ff2dc8..6b5d68597 100644 --- a/styleguide/components/Navigation/Navigation.js +++ b/styleguide/components/Navigation/Navigation.js @@ -44,10 +44,10 @@ const Navigation = ({ className, onLinkClick }) => ( exact activeClassName={ css.linkActive } className={ css.link } - to="/design/responsive-design" + to="/design/iconography" onClick={ onLinkClick } > - Responsive design + Iconography
  • @@ -55,10 +55,10 @@ const Navigation = ({ className, onLinkClick }) => ( exact activeClassName={ css.linkActive } className={ css.link } - to="/design/iconography" + to="/design/responsive-design" onClick={ onLinkClick } > - Iconography + Responsive design
  • diff --git a/styleguide/components/Scaffold/Scaffold.css b/styleguide/components/Scaffold/Scaffold.css index e641c0774..b489f2397 100644 --- a/styleguide/components/Scaffold/Scaffold.css +++ b/styleguide/components/Scaffold/Scaffold.css @@ -47,6 +47,10 @@ color: var(--color-primary--light); } +.orderedList { + padding-left: 0; +} + .descriptionList { display: flex; flex-wrap: wrap; diff --git a/styleguide/components/Scaffold/Scaffold.js b/styleguide/components/Scaffold/Scaffold.js index 4a1645982..b2982b8fb 100644 --- a/styleguide/components/Scaffold/Scaffold.js +++ b/styleguide/components/Scaffold/Scaffold.js @@ -20,6 +20,7 @@ export const body = css.body; export const section = m.mtLgIii; export const code = css.code; export const link = css.link; +export const orderedList = css.orderedList; export const descriptionList = css.descriptionList; export const note = css.note; @@ -59,6 +60,12 @@ export const A = ({ className, children, ...rest }) => ( { children } ); +export const Ol = ({ className, children, ...rest }) => ( +
      + { children } +
    +); + export const Dl = ({ className, children, ...rest }) => (
    { children } @@ -82,9 +89,10 @@ export const Placeholder = ({ className, children, onClick, ...rest }) => ( ); -export const Bq = ({ className, children, citation }) => ( +export const Bq = ({ className, children, citation, ...rest }) => (
    ( This means, writing your CSS to address the smallest sizes first. We do this for two key reasons: -
      +
        Larger viewport layouts are typically more complex than their small counterparts. With this in mind, you’ll likely end up writing fewer CSS rules to achieve the desired @@ -60,7 +60,7 @@ const ResponsiveDesign = () => ( By building the page for the lowest common denominator, you’ll be taking into account devices that we’re unable to test on, or even those that don’t exist yet. -
      +
    When working “bottom up”, it should apparent become that you need to add a media query when the page or feature begins to look and feel rubbish. Look to increase the window size until @@ -126,11 +126,13 @@ const ResponsiveDesign = () => ( Rather than building for ‘devices’ we approach screen size as a whole. So if content doesn’t look good as your screen gets bigger, add a media query to fix it. - - Note: It’s important to note that "common" screen sizes don’t exist. And we can never assume - a user will see a piece of content based on ‘the fold’. - Refer to iamthefold for more information. - + + + It’s important to note that "common" screen sizes don’t exist. + And we can never assume a user will see a piece of content based + on ‘the fold’. Refer to iamthefold for more information. + +
    );