mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-19 12:53:49 +12:00
improvement: Tweak option borders in light mode
This commit is contained in:
parent
663c7cd7ff
commit
9d4817b173
1 changed files with 3 additions and 3 deletions
|
@ -284,11 +284,11 @@ defmodule AshHqWeb.Pages.Docs do
|
|||
</div>
|
||||
<div
|
||||
:if={!Enum.empty?(options)}
|
||||
class="grid grid-cols-[min-content_auto] w-full border-b border-gray-600 pb-2 mb-12"
|
||||
class="grid grid-cols-[min-content_auto] w-full border-b border-gray-300 dark:border-gray-600 pb-2 mb-12"
|
||||
>
|
||||
{#for option <- options}
|
||||
<div
|
||||
class="flex flex-col border-t border-gray-600 py-3 nav-anchor pr-4"
|
||||
class="flex flex-col border-t border-gray-300 dark:border-gray-600 py-3 nav-anchor pr-4"
|
||||
id={"#{String.replace(option.sanitized_path, "/", "-")}-#{DocRoutes.sanitize_name(option.name)}"}
|
||||
>
|
||||
<div class="flex flex-row align-middle leading-7">
|
||||
|
@ -304,7 +304,7 @@ defmodule AshHqWeb.Pages.Docs do
|
|||
{option.type}
|
||||
</span>
|
||||
</div>
|
||||
<div class="prose dark:prose-invert border-t border-gray-600 py-3">
|
||||
<div class="prose dark:prose-invert border-t border-gray-300 dark:border-gray-600 py-3">
|
||||
{raw(option.doc_html)}
|
||||
</div>
|
||||
{/for}
|
||||
|
|
Loading…
Reference in a new issue