diff --git a/src/Handler/Utils/Templates.hs b/src/Handler/Utils/Templates.hs index ef584c19b..221c72b76 100644 --- a/src/Handler/Utils/Templates.hs +++ b/src/Handler/Utils/Templates.hs @@ -2,7 +2,7 @@ module Handler.Utils.Templates where import Data.Either (isLeft) -import Import +import Import.NoFoundation modal :: WidgetT site IO () -> Either (SomeRoute site) (WidgetT site IO ()) -> WidgetT site IO () modal modalTrigger modalContent = do @@ -15,16 +15,12 @@ modal modalTrigger modalContent = do route' <- toTextUrl route [whamlet| $newline never -
- - - ^{modalTrigger} + + ^{modalTrigger} |] Right _ -> do [whamlet| $newline never -
-
- - ^{modalTrigger} +
+ ^{modalTrigger} |] diff --git a/static/img/modal.svg b/static/img/modal.svg deleted file mode 100644 index a4a08bb48..000000000 --- a/static/img/modal.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/templates/standalone/modal.lucius b/templates/standalone/modal.lucius index 390a60a1e..8811f3bae 100644 --- a/templates/standalone/modal.lucius +++ b/templates/standalone/modal.lucius @@ -66,19 +66,10 @@ .modal__trigger { cursor: pointer; - display: inline-flex; - flex-direction: row; - align-items: baseline; - margin-top: 5px; -} - -.modal__trigger-icon { - height: 20px; } .modal__trigger-label { font-size: 14px; - padding-left: 5px; } .modal__closer {