From af35e95b27f3496c5fb1c7ece0764a053004dc25 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 26 Mar 2023 15:27:27 +0400 Subject: [PATCH] fix(#929): cannot change Battle type if screen is scrolled, styling issue --- index.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/index.css b/index.css index 945ccd04..9ec277b6 100644 --- a/index.css +++ b/index.css @@ -1082,12 +1082,16 @@ tr.battleSurvivors { font-size: 0.9em; } -#battleBody div.battlePhases, #battleBottom div.battleTypes { position: fixed; background-color: #ffffff30; } +#battleBody div.battlePhases { + position: absolute; + background-color: #ffffff30; +} + #battleBody div.battlePhases > button, #battleBottom div.battleTypes > button { width: 3.2em; @@ -2240,7 +2244,6 @@ svg.button { user-select: none; } - .dontAsk { margin: 0.9em 0 0 0.6em; display: inline-flex; @@ -2339,7 +2342,7 @@ svg.button { } @media (prefers-color-scheme: dark) { - body { - background: #25252a; - } + body { + background: #25252a; + } }