mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
Make the button nicer
This commit is contained in:
parent
95c3349454
commit
2e8f7a5b2a
1 changed files with 5 additions and 5 deletions
|
@ -3,15 +3,15 @@
|
||||||
<div class="flex flex-col h-full md:p-4">
|
<div class="flex flex-col h-full md:p-4">
|
||||||
<% if @chats.any? %>
|
<% if @chats.any? %>
|
||||||
<div class="grow flex flex-col">
|
<div class="grow flex flex-col">
|
||||||
<h1 class="text-xl font-medium my-6">Chats</h1>
|
<div class="flex items-center justify-between my-6">
|
||||||
<div class="mb-4">
|
<h1 class="text-xl font-medium">Chats</h1>
|
||||||
<%= render LinkComponent.new(
|
<%= render LinkComponent.new(
|
||||||
text: "New chat",
|
id: "new-chat",
|
||||||
icon: "plus",
|
icon: "plus",
|
||||||
variant: :primary,
|
variant: "icon",
|
||||||
href: new_chat_path,
|
href: new_chat_path,
|
||||||
frame: chat_frame,
|
frame: chat_frame,
|
||||||
class: "w-full justify-center"
|
text: "New chat"
|
||||||
) %>
|
) %>
|
||||||
</div>
|
</div>
|
||||||
<div class="space-y-2 px-0.5">
|
<div class="space-y-2 px-0.5">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue