mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-08 07:27:44 +03:00
Merge pull request #158 from NoRedInk/remove-css-helpers-from-modal
Remove CssHelpers from Modal
This commit is contained in:
commit
047407114b
@ -16,11 +16,10 @@ module Nri.Ui.Modal.V1 exposing
|
||||
|
||||
import Css
|
||||
import Css.Foreign exposing (Snippet, body, children, descendants, everything, selector)
|
||||
import DEPRECATED.Css.File exposing (Stylesheet, compile, stylesheet)
|
||||
import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
import Html.CssHelpers exposing (..)
|
||||
import Html.Events exposing (onClick)
|
||||
import Html.Styled exposing (toUnstyled)
|
||||
import Nri.Ui.Colors.Extra
|
||||
import Nri.Ui.Colors.V1
|
||||
import Nri.Ui.Fonts.V1 as Fonts
|
||||
@ -145,14 +144,11 @@ open (and this node is present on the page).
|
||||
-}
|
||||
styleNode : Html msg
|
||||
styleNode =
|
||||
[ stylesheet
|
||||
[ Css.Foreign.body
|
||||
[ Css.overflow Css.hidden ]
|
||||
]
|
||||
[ Css.Foreign.body
|
||||
[ Css.overflow Css.hidden ]
|
||||
]
|
||||
|> compile
|
||||
|> .css
|
||||
|> Html.CssHelpers.style
|
||||
|> Css.Foreign.global
|
||||
|> toUnstyled
|
||||
|
||||
|
||||
type CssClasses
|
||||
|
Loading…
Reference in New Issue
Block a user