From 03214885bceddf2b80110c43ff4024eea1e61562 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Wed, 9 Jan 2019 09:59:13 -0800 Subject: [PATCH] fix header link font sizes /cc @emplums: I started with a verbatim copy of the header from primer/components, but after introducing the global primer CSS it looks like I've had to set fontSize={2} explicitly on all of our links to bump it back up. The way I did this feels kinda yucky; would you have done it differently? --- docs/src/Header.js | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/src/Header.js b/docs/src/Header.js index c6db08c6..d75719d5 100644 --- a/docs/src/Header.js +++ b/docs/src/Header.js @@ -10,22 +10,26 @@ const NavLink = withRouter(({href, router, ...rest}) => ( )) +const HeaderText = props => + const Header = props => ( - + - Primer CSS + Primer CSS - Docs - - - - + + Docs + + + + +