Fix dark mode in clickhouse debug view (#4442)

This commit is contained in:
hq1 2024-08-14 21:51:07 +03:00 committed by GitHub
parent 4967960278
commit 4d4c9a8a21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,12 +2,12 @@
<section class="grid grid-cols-1 gap-y-3 divide-y"> <section class="grid grid-cols-1 gap-y-3 divide-y">
<%= for log <- @queries do %> <%= for log <- @queries do %>
<details class="group py-1"> <details class="group py-1">
<summary class="flex cursor-pointer flex-row items-center justify-between py-1 font-semibold text-gray-600 marker:[font-size:0px]"> <summary class="flex cursor-pointer flex-row items-center justify-between py-1 font-semibold text-gray-600 dark:text-gray-200 pt-4">
<%= log["request_method"] %> <%= controller_name(log["phoenix_controller"]) %>.<%= log[ <%= log["request_method"] %> <%= controller_name(log["phoenix_controller"]) %>.<%= log[
"phoenix_action" "phoenix_action"
] %> (<%= log[:query_duration_ms] %>ms) ] %> (<%= log[:query_duration_ms] %>ms)
<svg <svg
class="h-6 w-6 rotate-0 transform text-gray-400 group-open:rotate-180" class="h-6 w-6 rotate-0 transform text-gray-400 dark:text-gray-200 group-open:rotate-180"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
fill="none" fill="none"
viewBox="0 0 24 24" viewBox="0 0 24 24"
@ -18,7 +18,7 @@
<path stroke-linecap="round" stroke-linejoin="round" d="M19 9l-7 7-7-7"></path> <path stroke-linecap="round" stroke-linejoin="round" d="M19 9l-7 7-7-7"></path>
</svg> </svg>
</summary> </summary>
<table class="table table-striped table-auto"> <table class="table table-striped table-auto text-gray-400 dark:text-gray-200">
<tbody> <tbody>
<%= for {key, value} <- log do %> <%= for {key, value} <- log do %>
<tr class="table-row"> <tr class="table-row">