|
16 | 16 | <div class="flex justify-between">
|
17 | 17 | <div class="dark:bg-brand-1200 bg-scale-200 border border-scale-500 dark:border-scale-300 p-3 rounded-md space-y-8 transition-all max-h-[70px] duration-500 overflow-hidden shadow-2xl dark:shadow-lg">
|
18 | 18 | <a href="https://github.com/supabase-community/supabase-csharp">
|
19 |
| - <img class="w-auto h-full" src="/logo.png" /> |
| 19 | + <img class="sm:w-300 xs:w-200 w-auto h-full" src="/logo.png" /> |
20 | 20 | </a>
|
21 | 21 | </div>
|
22 | 22 |
|
23 | 23 | <a href="https://github.com/supabase-community/realtime-csharp/tree/master/Examples/PresenceExample">
|
24 |
| - <img class="w-8 h-8" src="/github-mark-white.png"/> |
| 24 | + <img class="w-8 h-8" src="/github-mark-white.png" /> |
25 | 25 | </a>
|
26 | 26 | </div>
|
27 | 27 |
|
28 |
| -<div class="flex items-start flex-col"> |
| 28 | +<div class="flex items-start flex-col pt-2"> |
29 | 29 | @if (isConnected)
|
30 | 30 | {
|
31 | 31 | <Pill Text="Connected" />
|
|
50 | 50 | }
|
51 | 51 | </div>
|
52 | 52 |
|
53 |
| -<div class="grid grid-cols-6 gap-4 absolute bottom-10 w-full right-5 h-10"> |
54 |
| - <div class="col-end-7 col-span-2"> |
55 |
| - |
56 |
| - <InputText @ref="chatInput" |
57 |
| - @onfocus="HandleChatInputFocus" |
58 |
| - @onfocusout="HandleChatInputLostFocus" |
59 |
| - @bind-Value="chatMessage" |
60 |
| - placeholder="Send a message..." |
61 |
| - type="text" |
62 |
| - class="w-full bg-scale-500 h-10 rounded-md px-2.5" /> |
63 |
| - </div> |
| 53 | +<div class="flex absolute bottom-10 right-5 w-3/4 md:w-1/3 h-10"> |
| 54 | + <InputText @ref="chatInput" |
| 55 | + @onfocus="HandleChatInputFocus" |
| 56 | + @onfocusout="HandleChatInputLostFocus" |
| 57 | + @bind-Value="chatMessage" |
| 58 | + @oninput="@((e) => { chatMessage=(string?)e.Value ?? "";})" |
| 59 | + placeholder="Send a message..." |
| 60 | + type="text" |
| 61 | + class="w-full bg-scale-500 h-10 rounded-lg px-2.5" /> |
64 | 62 | </div>
|
65 | 63 |
|
66 | 64 | @code {
|
|
0 commit comments