commit 4e48152ff7b994cbb0bef13752bed55e033e217f parent b72a3fb2af33b4c3f9626cae7e1d5866e71f1eb8 Author: Emily Doherty <emily@emilyd.xyz> Date: Thu, 1 Jul 2021 15:20:51 -0400 Added initial size for canvas, reducing content shift on load Diffstat:
| M | css/style.css | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/css/style.css b/css/style.css @@ -21,6 +21,8 @@ audio, canvas, video { display: inline-block; + width: 90%; + aspect-ratio: 2; } audio:not([controls]) { display: none;