diff options
author | 2024-02-20 02:51:47 +0100 | |
---|---|---|
committer | 2024-02-20 02:51:47 +0100 | |
commit | 0c7f4eaab5b5c19b914a8eed548349388bbd6300 (patch) | |
tree | d8a03e8f50ace442e1e897059ba05a9c003e30aa /examples | |
parent | 8a86ef14e3c178343226312ec53b677cfad6fa12 (diff) | |
download | iced-0c7f4eaab5b5c19b914a8eed548349388bbd6300.tar.gz iced-0c7f4eaab5b5c19b914a8eed548349388bbd6300.tar.bz2 iced-0c7f4eaab5b5c19b914a8eed548349388bbd6300.zip |
Make `Canvas` fill the parent container on Wasm
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tour/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tour/index.html b/examples/tour/index.html index c64af912..09d03367 100644 --- a/examples/tour/index.html +++ b/examples/tour/index.html @@ -1,12 +1,12 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="en" style="height: 100%"> <head> <meta charset="utf-8" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Tour - Iced</title> <base data-trunk-public-url /> </head> -<body> +<body style="height: 100%; margin: 0"> <link data-trunk rel="rust" href="Cargo.toml" data-wasm-opt="z" data-bin="tour" /> </body> </html> |