Update some superficial things

This commit is contained in:
Thelonius Kort
2023-01-14 22:05:48 +01:00
parent a95131bdbb
commit 483ed9440d
4 changed files with 6 additions and 9 deletions

View File

@ -26,7 +26,6 @@
vertical-align: -2px;
}
.article h4 {
@apply font-semibold text-lg leading-8 text-zinc-800;
}
@ -42,3 +41,7 @@
.article blockquote {
@apply px-4 py-2 text-sm;
}
.article a {
@apply text-cyan-900;
}

View File

@ -1,7 +1,6 @@
defmodule Outlook.InternalTree.InternalTree do
alias Outlook.InternalTree.InternalNode
alias Outlook.InternalTree.TranslationUnit
alias Outlook.InternalTree.{InternalNode,TranslationUnit}
def garnish([%TranslationUnit{} = node | rest], %{tunits: _} = options) do
[ set_attributes(node, options.tunits, options.tu_ids)

View File

@ -1,10 +1,5 @@
<.header>
Listing Translations
<:actions>
<.link patch={~p"/translations/new"}>
<.button>New Translation</.button>
</.link>
</:actions>
</.header>
<.table id="translations" rows={@translations} row_click={&JS.navigate(~p"/translations/#{&1}")}>

View File

@ -18,7 +18,7 @@ defmodule OutlookWeb.TranslationLive.NewEdit do
translation={@translation}
translation_content={@translation_content}
current_user={@current_user}
navigate={~p"/translations"}
navigate={~p"/articles/#{@translation.article}"}
/>
"""
end