Skip to content

Commit

Permalink
Fix: the icons code display on the icons page (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisdevtailor authored Nov 24, 2022
1 parent de6b20c commit 420963b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/moon_web/pages/tutorials/icons/code_snippet.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule MoonWeb.Pages.IconsPage.CodeSnippet do

def render(assigns) do
~F"""
<pre class="theme-moon-dark w-full bg-goku overflow-scroll p-4 text-moon-14 text-bulma rounded-moon-s-sm h-fit whitespace-pre-line"><slot /></pre>
<pre class="theme-moon-dark w-full bg-goku overflow-scroll p-4 text-moon-14 text-bulma rounded-moon-s-sm h-fit whitespace-pre-line"><#slot /></pre>
"""
end
end
2 changes: 1 addition & 1 deletion lib/moon_web/pages/tutorials/icons/icons_import_display.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule MoonWeb.Pages.IconsPage.IconsImportDisplay do
~F"""
<div class="overflow-scroll">
<CodeSnippet>
<slot />
<#slot />
</CodeSnippet>
</div>
"""
Expand Down

0 comments on commit 420963b

Please sign in to comment.