-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
problem: layout on mobile kind of sucks
- Loading branch information
1 parent
2f665e6
commit 46c1b4d
Showing
7 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<div class="h-dvh flex flex-col"> | ||
<div class="bg-gray-200 flex-1 overflow-y-scroll"> | ||
<div class="px-4 py-2"> | ||
<div class="flex items-center mb-2"> | ||
<img class="w-8 h-8 rounded-full mr-2" src="https://picsum.photos/50/50" alt="User Avatar"> | ||
<div class="font-medium">John Doe</div> | ||
</div> | ||
<div class="bg-white rounded-lg p-2 shadow mb-2 max-w-sm"> | ||
Hi, how can I help you? | ||
</div> | ||
<div class="flex items-center justify-end"> | ||
<div class="bg-blue-500 text-white rounded-lg p-2 shadow mr-2 max-w-sm"> | ||
Sure, I can help with that. | ||
</div> | ||
<img class="w-8 h-8 rounded-full" src="https://picsum.photos/50/50" alt="User Avatar"> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="bg-gray-100 px-4 py-2"> | ||
<div class="flex items-center"> | ||
<input class="w-full border rounded-full py-2 px-4 mr-2" type="text" placeholder="Type your message..."> | ||
<button class="bg-blue-500 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-full"> | ||
Send | ||
</button> | ||
</div> | ||
</div> | ||
</div> |