Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cdab5c5

Browse files
committed
Update api and deploy
1 parent d6a8a77 commit cdab5c5

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

‎build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ set -e
22

33
elm make src/Main.elm --output build/demo.js
44

5-
postcss stylesheets/index.css -o build/styles.css
5+
#postcss stylesheets/index.css -o build/styles.css
66

77
cp index.html build/index.html
88

‎elmapp.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
"homepage": "https://json-tools.github.io/json-form/",
3+
}

‎src/Demo.elm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ update message model =
107107
, dense = True
108108
, textFieldStyle = Outlined
109109
, collapseNestedObjects = False
110+
, showErrorIcon = False
110111
}
111112
in
112113
Json.Form.init config example.schema Nothing
@@ -162,7 +163,7 @@ content model =
162163
div [ class "example-section" ]
163164
[ Html.h3 [ class "example-section__heading" ] [ text example.title ]
164165
, div [ class "example-section__content" ]
165-
[ div [ style "display" "inline-block", style "max-width" "300px", style "min-width" "300px" ]
166+
[ div [ style "display" "inline-block", style "max-width" "350px", style "min-width" "350px" ]
166167
[ div [ style "padding" "10px", style "background" "var(--form-background)" ]
167168
[ form
168169
|> Json.Form.view

‎stylesheets/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
.example-section__content > * {
4343
margin-bottom: 20px;
44-
max-width: 300px;
44+
max-width: 350px;
4545
}
4646

4747
@media (min-width: 400px) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /