diff --git a/views/style.erb b/views/style.erb index 2939596..adc3ffc 100644 --- a/views/style.erb +++ b/views/style.erb @@ -20,10 +20,10 @@ .mj-cell-<%= v[:id] %> { background-color: <%= v[:color] %> !important; } - - .mj-cell-<%= v[:id] %>:hover { - border-left-width: 1px; - border-right-width: 1px; - border-color: var(--bs-body-color); - } <% end %> + +table:has(.mj-cell:hover) .mj-cell { + border-left-width: 2px; + border-right-width: 2px; + border-color: var(--bs-body-color); +} diff --git a/views/votes_show_closed.erb b/views/votes_show_closed.erb index 747f5f6..28c5376 100644 --- a/views/votes_show_closed.erb +++ b/views/votes_show_closed.erb @@ -57,7 +57,7 @@