From b484bdef79024c16d802c64c752adde652520a3d Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sun, 27 Oct 2019 16:29:05 +0100 Subject: [PATCH] Set input type to `text` --- frontend/src/Main.elm | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/frontend/src/Main.elm b/frontend/src/Main.elm index dbc9d2e..f89b1b4 100644 --- a/frontend/src/Main.elm +++ b/frontend/src/Main.elm @@ -10,7 +10,17 @@ module Main exposing import Browser import Data exposing (Url, hostname, toUrl) import Html exposing (Html, fieldset, input, label) -import Html.Attributes exposing (autofocus, for, id, placeholder, readonly, style, value) +import Html.Attributes + exposing + ( autofocus + , for + , id + , placeholder + , readonly + , style + , type_ + , value + ) import Html.Events exposing (onInput) import Parse exposing (parseUrl) @@ -62,7 +72,7 @@ view state = , value state.url , onInput UrlChange , autofocus True - , style "border" "1px solid #595959" + , type_ "text" ] ) [] @@ -72,7 +82,7 @@ view state = [ id "output" , readonly True , value (displayMUrl state.parsed) - , style "border" "1px solid #595959" + , type_ "text" ] ) []