thredded wip

This commit is contained in:
Andrew Brown 2023-04-24 13:52:13 -07:00
parent 610a6dab7b
commit d252d3620f
3 changed files with 14 additions and 1 deletions

View File

@ -8,6 +8,10 @@
position: static !important;
}
#thredded--container {
margin-left: 32px !important;
}
.thredded--container {
margin: 0;
margin-left: 3em !important;

View File

@ -23,7 +23,7 @@
x-data="{ showSidebar: true }"
>
<header class="flex sticky top-0 z-50 w-full bg-notebook-blue border-b border-blue-400 h-14 shadow">
<%= link_to root_path, class: 'flex items-center mr-2 px-6 py-4 border-b border-gray-300 shadow hover:shadow-md transition bg-white rounded-br-lg' do %>
<%= link_to main_app.root_path, class: 'flex items-center mr-2 px-6 py-4 border-b border-gray-300 shadow hover:shadow-md transition bg-white rounded-br-lg' do %>
<%= image_tag 'logos/book-small.webp', class: 'h-8 mr-3' %>
<span class="text-2xl font-bold text-notebook-blue tracking-wide">
Notebook.ai

View File

@ -16,4 +16,13 @@
<%= link_to messageboard.name, messageboard_topics_path(messageboard), class: 'ml-4 text-sm font-medium text-gray-500 hover:text-blue-500' %>
</div>
</li>
<% else %>
<li class="flex">
<div class="flex items-center">
<svg class="flex-shrink-0 w-6 h-full text-gray-200" viewBox="0 0 24 44" preserveAspectRatio="none" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path d="M.293 0l22 22-22 22h1.414l22-22-22-22H.293z" />
</svg>
<%= link_to 'Notebook.ai Forums', root_path, class: 'ml-4 text-sm font-medium text-gray-500 hover:text-blue-500' %>
</div>
</li>
<% end %>