diff options
Diffstat (limited to 'examples/02-interactivity/src/app.gleam')
-rw-r--r-- | examples/02-interactivity/src/app.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/02-interactivity/src/app.gleam b/examples/02-interactivity/src/app.gleam index e47b7a4..d4b5eb6 100644 --- a/examples/02-interactivity/src/app.gleam +++ b/examples/02-interactivity/src/app.gleam @@ -50,8 +50,8 @@ fn update(model: Model, msg: Msg) -> Model { // VIEW ------------------------------------------------------------------------ fn view(model: Model) -> Element(Msg) { + let styles = [#("width", "100vw"), #("height", "100vh"), #("padding", "1rem")] let count = int.to_string(model) - let styles = [#("width", "100vw"), #("height", "100vh")] ui.centre( [attribute.style(styles)], |