devel #238
2 changed files with 5 additions and 5 deletions
|
@ -35,10 +35,10 @@
|
|||
</style>
|
||||
</head>
|
||||
<body class="text-theme-base bg-theme-background | h-feed hfeed">
|
||||
<aside class="block">
|
||||
<aside class="block print:hidden">
|
||||
<%= raw(@settings.custom_html) %>
|
||||
</aside>
|
||||
<header class="my-8 block px-3">
|
||||
<header class="my-8 block px-3 print:hidden">
|
||||
<nav class="mx-auto max-w-2xl">
|
||||
<ul class="flex gap-3">
|
||||
<li>
|
||||
|
@ -75,7 +75,7 @@
|
|||
<%= @inner_content %>
|
||||
</main>
|
||||
|
||||
<footer class="max-w-full mt-8 p-8 text-theme-base/75 bg-theme-background1">
|
||||
<footer class="max-w-full mt-8 p-8 text-theme-base/75 bg-theme-background1 print:hidden">
|
||||
<section class="max-w-2xl mx-auto flex gap-3">
|
||||
<div class="flex-1">
|
||||
<h2 class="font-bold tracking-wider">Info</h2>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
</.header>
|
||||
|
||||
<%= if @current_user do %>
|
||||
<section class="max-w-2xl mx-auto mt-8">
|
||||
<section class="max-w-2xl mx-auto mt-8 print:hidden">
|
||||
<ul class="flex gap-3">
|
||||
<li>
|
||||
<a href={~p"/admin/notes/#{@note}/edit"} class="button">
|
||||
|
@ -21,7 +21,7 @@
|
|||
</aside>
|
||||
|
||||
<%= if has_outline?(@note) do %>
|
||||
<aside class="max-w-2xl mx-auto mt-8 prose prose-gruvbox">
|
||||
<aside class="max-w-2xl mx-auto mt-8 prose prose-gruvbox print:hidden">
|
||||
<div class="bg-theme-background1 rounded p-2">
|
||||
<%= raw(render_outline(@note)) %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue