From 050e038fb19ae53d4e6021fa97f93ef7809b1534 Mon Sep 17 00:00:00 2001 From: Mattias Granlund Date: Fri, 7 Jul 2023 16:24:26 +0100 Subject: [PATCH] One more fix for drop marker css I will need to redo how the new branch dz changes styling when drop is active. There are gaps in doing with sibling css that make it flicker and sometimes stick to a state. --- src/app.postcss | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/app.postcss b/src/app.postcss index 930d8212e..c43a7acf1 100644 --- a/src/app.postcss +++ b/src/app.postcss @@ -350,9 +350,16 @@ input[type='checkbox'].large { @apply block; } -.drag-zone-hover.#new-branch-dz .call-to-action { +.drag-zone-hover + #new-branch-dz .call-to-action { @apply hidden; } -.drag-zone-hover.#new-branch-dz .drag-zone-marker { +.drag-zone-hover + #new-branch-dz .drag-zone-marker { @apply block; } + +#new-branch-dz.drag-zone-hover .call-to-action { + @apply hidden; +} +#new-branch-dz.drag-zone-hover .drag-zone-marker { + @apply block bg-green-300 dark:bg-green-460; +}