From 9663f063ff9cb96d315594322ea54b9d34ee4f91 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 9 Apr 2022 09:14:45 -0700 Subject: [PATCH] Add `position:relative` to `.p5-sketch` Sketch elements need relative positioning so elements they create can be positioned inside them correctly. --- static/styles/main.css | 1 + 1 file changed, 1 insertion(+) diff --git a/static/styles/main.css b/static/styles/main.css index 15688cd..9e8cf0b 100644 --- a/static/styles/main.css +++ b/static/styles/main.css @@ -198,6 +198,7 @@ p { .p5-sketch { display: block; + position: relative; width: 100%; }