mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
fix padding on universe picker
This commit is contained in:
parent
1c06e2411c
commit
87f1089a65
@ -42,9 +42,9 @@
|
||||
</div>
|
||||
|
||||
<!-- left-hand side of navbar -->
|
||||
<div class="flex-grow pt-2.5 pl-1">
|
||||
<div class="flex-grow pt-2 pl-1">
|
||||
<% if @universe_scope %>
|
||||
<div class="inline-flex rounded-md shadow-sm" role="group">
|
||||
<div class="inline-flex rounded-md shadow-sm mt-0.5" role="group">
|
||||
<%= link_to multiverse_path do %>
|
||||
<button type="button" class="px-2 h-9 text-white <%= Universe.color %> rounded-l-lg border border-purple-800 hover:bg-purple-500 focus:z-10 focus:ring-2 focus:ring-purple-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-blue-500 dark:focus:text-white">
|
||||
<i class="material-icons text-2xl"><%= Universe.icon %></i>
|
||||
@ -57,7 +57,7 @@
|
||||
<% end %>
|
||||
</div>
|
||||
<% else %>
|
||||
<%= link_to multiverse_path, class: "px-3 py-2 text-base #{Universe.text_color} bg-purple-50 hover:bg-purple-200 rounded" do %>
|
||||
<%= link_to multiverse_path, class: "px-3 py-2 inline-block text-base #{Universe.text_color} bg-purple-50 hover:bg-purple-200 rounded" do %>
|
||||
Choose a universe
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user