From f60e4d653969036cb1950e55edd5099cc651cde5 Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Tue, 30 Jan 2024 20:19:12 +0000 Subject: :art: Add padding for slim viewports. --- examples/01-hello-world/src/app.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/01-hello-world/src/app.gleam b/examples/01-hello-world/src/app.gleam index dc42ad7..5d2b50a 100644 --- a/examples/01-hello-world/src/app.gleam +++ b/examples/01-hello-world/src/app.gleam @@ -13,7 +13,7 @@ import lustre/element/html import lustre/ui pub fn main() { - let styles = [#("width", "100vw"), #("height", "100vh")] + let styles = [#("width", "100vw"), #("height", "100vh"), #("padding", "1rem")] let app = lustre.element(ui.centre( [attribute.style(styles)], -- cgit v1.2.3