mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-13 07:48:26 +03:00
Ensure that the size is inherited when the clickabletext apepars inline
This commit is contained in:
parent
ac5306113b
commit
055bf979ee
@ -390,15 +390,22 @@ disabled value =
|
||||
-}
|
||||
appearsInline : Attribute msg
|
||||
appearsInline =
|
||||
css
|
||||
[ Css.borderBottom3 (Css.px 1) Css.solid Colors.azure
|
||||
, Css.Global.withAttribute "aria-disabled=true" [ Css.borderBottom3 (Css.px 1) Css.solid Colors.gray45 ]
|
||||
, Css.disabled [ Css.borderBottom3 (Css.px 1) Css.solid Colors.gray45 ]
|
||||
, Css.display Css.inline
|
||||
, Css.fontFamily Css.inherit
|
||||
, Css.fontWeight Css.inherit
|
||||
, Css.fontSize Css.inherit
|
||||
]
|
||||
set
|
||||
(\config ->
|
||||
{ config
|
||||
| customStyles =
|
||||
List.append config.customStyles
|
||||
[ Css.borderBottom3 (Css.px 1) Css.solid Colors.azure
|
||||
, Css.Global.withAttribute "aria-disabled=true" [ Css.borderBottom3 (Css.px 1) Css.solid Colors.gray45 ]
|
||||
, Css.disabled [ Css.borderBottom3 (Css.px 1) Css.solid Colors.gray45 ]
|
||||
, Css.display Css.inline
|
||||
, Css.fontFamily Css.inherit
|
||||
, Css.fontWeight Css.inherit
|
||||
, Css.fontSize Css.inherit
|
||||
]
|
||||
, size = Inherited
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
{-| Specifies custom styles for the rightIcon
|
||||
|
Loading…
Reference in New Issue
Block a user