diff --git a/app/assets/stylesheets/color-picker.css b/app/assets/stylesheets/color-picker.css index a874e0b70..a0dd8e2af 100644 --- a/app/assets/stylesheets/color-picker.css +++ b/app/assets/stylesheets/color-picker.css @@ -2,11 +2,11 @@ --panel-border-color: var(--card-color); --panel-border-radius: 2em; --panel-border-size: 2px; - --panel-padding: 0.5em 0.7em; + --panel-padding: 0.5em; --panel-size: auto; inline-size: auto !important; - inset: 50% auto auto calc(-1 * var(--block-space)); + inset: 50% auto auto calc(-1 * var(--panel-padding)); max-inline-size: var(--panel-size) !important; position: absolute; translate: 0 -50%; @@ -15,22 +15,4 @@ &[open] { display: flex; } - - .color-picker__color { - --btn-size: 2em; - } -} - -.color-picker__button { - font-size: 0.75em; - - .cards & { - display: none; - } - - + .panel { - --panel-size: auto; - - inset: 0 0 auto auto; - } } diff --git a/app/views/workflows/_workflow.html.erb b/app/views/workflows/_workflow.html.erb index 5cbf7d3e3..f6972731d 100644 --- a/app/views/workflows/_workflow.html.erb +++ b/app/views/workflows/_workflow.html.erb @@ -10,7 +10,7 @@ -
+
<%= turbo_frame_tag dom_id(workflow, :stages) do %> <%= render partial: "workflows/stages/stage", collection: workflow.stages %> diff --git a/app/views/workflows/stages/_color.html.erb b/app/views/workflows/stages/_color.html.erb index 8b4eed76c..a5e1657b5 100644 --- a/app/views/workflows/stages/_color.html.erb +++ b/app/views/workflows/stages/_color.html.erb @@ -1,5 +1,5 @@
- @@ -15,7 +15,7 @@ <%= form_with model: stage, url: workflow_stage_path(stage.workflow, stage), class: "flex gap-half", data: { controller: "form", action: "change->form#submit" } do |form| %> <% Colorable::COLORS.each do |color| %> -