diff --git a/src/Nri/Ui/ClickableText/V4.elm b/src/Nri/Ui/ClickableText/V4.elm index 776eca540..9bcfc68e9 100644 --- a/src/Nri/Ui/ClickableText/V4.elm +++ b/src/Nri/Ui/ClickableText/V4.elm @@ -98,6 +98,7 @@ import Html.Styled.Attributes as Attributes import Nri.Ui import Nri.Ui.Colors.V1 as Colors import Nri.Ui.FocusRing.V1 as FocusRing +import Nri.Ui.Fonts.V1 as Fonts import Nri.Ui.Html.Attributes.V2 as ExtraAttributes import Nri.Ui.MediaQuery.V1 as MediaQuery import Nri.Ui.Svg.V1 as Svg exposing (Svg) @@ -527,8 +528,8 @@ clickableTextSharedStyles : Bool -> List Css.Style clickableTextSharedStyles isDisabled = let baseStyles = - [ Css.fontFamily Css.inherit - , Css.fontWeight Css.inherit + [ Fonts.baseFont + , Css.fontWeight (Css.int 600) ] in if isDisabled then @@ -546,6 +547,7 @@ clickableTextSharedStyles isDisabled = clickableTextLinkStyles : List Css.Style clickableTextLinkStyles = [ Css.textDecoration Css.none + , Css.display Css.inlineBlock ] diff --git a/src/Nri/Ui/Text/V6.elm b/src/Nri/Ui/Text/V6.elm index 1591403ef..f45819ef9 100644 --- a/src/Nri/Ui/Text/V6.elm +++ b/src/Nri/Ui/Text/V6.elm @@ -61,6 +61,7 @@ You're in the wrong place! Headings live in Nri.Ui.Heading.V3. import Accessibility.Styled as Html exposing (..) import Content import Css exposing (..) +import Css.Global exposing (children, typeSelector) import Html.Styled.Attributes as Attributes import MarkdownStyles import Nri.Ui.Colors.V1 exposing (..) @@ -263,6 +264,13 @@ paragraphStyles config = , lastChild [ margin zero ] + , children + [ typeSelector "a" + [ Css.fontFamily Css.inherit + , Css.fontWeight Css.inherit + , Css.display Css.inline + ] + ] ]