From fa18238e60bc35cffd5bb1a5b93b60262f67d955 Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Wed, 2 Dec 2020 17:30:33 -0700 Subject: [PATCH] Editor: Fix bad rendering when clicking a tool --- style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/style.css b/style.css index d0e2be6..b339839 100644 --- a/style.css +++ b/style.css @@ -52,6 +52,8 @@ button:active { box-shadow: inset 0 0 2px 1px hsl(225, 10%, 33%); transform: translateY(1px); + /* Need this for the editor's tool help things and i'm not questioning it */ + z-index: 1; } button:disabled { color: #606060; @@ -1013,6 +1015,7 @@ main.--has-demo .demo-controls { visibility: hidden; z-index: 1; position: absolute; + width: max-content; margin-top: -0.25em; margin-left: -0.5em; padding: 0.33em 0.75em;