mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-11-25 19:15:09 +03:00
resolves #103
This commit is contained in:
parent
99c50968b9
commit
df18305563
@ -1143,6 +1143,8 @@ link attrs { url, label } =
|
||||
(classes.contentCenterX
|
||||
++ " "
|
||||
++ classes.contentCenterY
|
||||
++ " "
|
||||
++ classes.link
|
||||
)
|
||||
:: attrs
|
||||
)
|
||||
@ -1166,7 +1168,13 @@ newTabLink attrs { url, label } =
|
||||
:: Internal.Attr (Html.Attributes.target "_blank")
|
||||
:: width shrink
|
||||
:: height shrink
|
||||
:: Internal.htmlClass (classes.contentCenterX ++ " " ++ classes.contentCenterY)
|
||||
:: Internal.htmlClass
|
||||
(classes.contentCenterX
|
||||
++ " "
|
||||
++ classes.contentCenterY
|
||||
++ " "
|
||||
++ classes.link
|
||||
)
|
||||
:: attrs
|
||||
)
|
||||
(Internal.Unkeyed [ label ])
|
||||
|
@ -253,6 +253,9 @@ classes =
|
||||
, inputText = "it"
|
||||
, inputMultiline = "iml"
|
||||
, inputMultilineParent = "imlp"
|
||||
|
||||
-- link
|
||||
, link = "lnk"
|
||||
}
|
||||
|
||||
|
||||
@ -1222,15 +1225,16 @@ baseSheet =
|
||||
, Descriptor (dot classes.widthExact)
|
||||
[ Prop "flex-basis" "auto"
|
||||
]
|
||||
, Descriptor (dot classes.link)
|
||||
[ Prop "flex-basis" "auto"
|
||||
]
|
||||
]
|
||||
, Child (dot classes.heightFill)
|
||||
[ --Prop "height" "100%"
|
||||
-- alignTop, centerY, and alignBottom need to be disabled
|
||||
[ -- alignTop, centerY, and alignBottom need to be disabled
|
||||
Prop "align-self" "stretch !important"
|
||||
]
|
||||
, Child (dot classes.heightFillPortion)
|
||||
[ --Prop "height" "100%"
|
||||
-- alignTop, centerY, and alignBottom need to be disabled
|
||||
[ -- alignTop, centerY, and alignBottom need to be disabled
|
||||
Prop "align-self" "stretch !important"
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user