greenish background; borders around panels

This commit is contained in:
Christian Lawson-Perfect 2025-02-09 20:29:06 +00:00
parent d836b98a70
commit 90a3f2388b
2 changed files with 61 additions and 31 deletions

View file

@ -378,7 +378,7 @@ view model =
header model =
H.header
[]
[ link "/" "thinks"
[ link "/" " thinks"
, H.h1
[]
[ H.text model.slug ]
@ -392,24 +392,29 @@ header model =
, link "rename" "Rename"
, link "delete" "Delete"
, link ("/new/"++model.slug) "Remix"
, H.label
[ HA.for "editor-size-input"
]
[ H.text "File editor size" ]
, H.input
[ HA.type_ "range"
, HA.id "editor-size-input"
, HA.min "0"
, HA.max "1"
, HA.step "0.05"
, HA.value <| String.fromFloat model.editor_size
, HE.on "input" (JD.at ["target", "valueAsNumber"] JD.float |> JD.map SetEditorSize)
, HA.list "size-values"
]
[]
, H.output
[ HA.for "editor-size-input" ]
[ H.text <| as_percentage model.editor_size ]
, H.span
[ HA.class "field"
, HA.id "editor-size"
]
[ H.label
[ HA.for "editor-size-input"
]
[ H.text "File editor size" ]
, H.input
[ HA.type_ "range"
, HA.id "editor-size-input"
, HA.min "0"
, HA.max "1"
, HA.step "0.05"
, HA.value <| String.fromFloat model.editor_size
, HE.on "input" (JD.at ["target", "valueAsNumber"] JD.float |> JD.map SetEditorSize)
, HA.list "size-values"
]
[]
, H.output
[ HA.for "editor-size-input" ]
[ H.text <| as_percentage model.editor_size ]
]
, H.datalist
[ HA.id "size-values" ]
[ H.option [ HA.value "0.5" ] [] ]