Skip to content

Commit

Permalink
Final messaging UI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Raccoon254 committed Jun 6, 2024
1 parent 7a60bdb commit 6d6ea7c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions resources/views/messages.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,22 @@ class="w-10 h-10 object-cover bg-white rounded-full">
</div>

@if($currentUserRole == 'writer')
<div class="md:w-1/3 p-3 flex overflow-y-auto flex-col gap-3 rounded-lg">
<div class="absolute right-0 md:relative md:w-1/3 flex overflow-y-auto flex-col gap-3 rounded-lg">
<!-- All users drawer-->
<div class="drawer lg:drawer-open">
<input id="my-drawer-clients" type="checkbox" class="drawer-toggle"/>
<div class="drawer-content flex flex-col items-center justify-center">
<div class="drawer-content md:w-0 flex flex-col items-center justify-center">
<!-- Page content here -->
<label for="my-drawer-clients"
class="btn btn-circle text-white btn-primary drawer-button lg:hidden">
class="btn btn-circle text-white btn-primary drawer-button md:hidden">
<i class="fas fa-users"></i>
</label>
</div>
<div class="drawer-side">
<div class="drawer-side md:w-full">
<label for="my-drawer-clients" aria-label="close sidebar"
class="drawer-overlay"></label>
<!-- Search -->
<div class="bg-white p-2 pt-4 flex flex-col gap-3">
<div class="bg-white p-2 pt-4 md:pt-2 flex flex-col gap-3">
<div class="flex md:sticky flex-col rounded-lg">
<div class="flex w-full relative gap-3 bg-gray-100 rounded-lg">
<input name="search" id="searchInput" type="text" wire:model.live="search"
Expand All @@ -95,7 +95,6 @@ class="absolute text-black/80 right-5 top-[50%] transform translate-x-1/2 -trans
</div>
<div
class="h-[98vh] md:h-[76vh] flex overflow-y-auto p-1 flex-col gap-3 rounded-lg">

@foreach($clients as $user)
<div class="flex gap-3 cursor-pointer p-2 md:bg-gray-100 w-full"
style="border-radius: 20rem 100px 100px 20rem"
Expand Down

0 comments on commit 6d6ea7c

Please sign in to comment.