Browse Source

WIP: attempt to fix over-long formatting of searchable list.

main
Titouan Rigoudy 4 years ago
parent
commit
c0d67647c8
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/components/SearchableList.tsx
  2. +1
    -1
      src/modules/room/RoomList.tsx
  3. +1
    -1
      src/modules/room/RoomsPane.tsx

+ 1
- 1
src/components/SearchableList.tsx View File

@ -38,7 +38,7 @@ const SearchableList: FC<ListProps<Item>> = ({ component, map }) => {
onChange={onChange}
/>
</form>
<ul className="flex-grow flex flex-col">{children}</ul>
<ul className="flex-grow flex flex-col overflow-auto">{children}</ul>
</div>
);
};


+ 1
- 1
src/modules/room/RoomList.tsx View File

@ -14,7 +14,7 @@ const RoomList: FC<RoomSliceState> = ({ rooms }) => {
};
return (
<div>
<div className="h-full">
<div className="flex justify-between p-3">
<h1 className="pl-3 text-2xl font-bold text-yellow-800 text-center">
Chat Rooms


+ 1
- 1
src/modules/room/RoomsPane.tsx View File

@ -37,7 +37,7 @@ const RoomsPane: FC<{}> = () => {
return (
<div className="h-full w-full flex">
<div className="w-80">
<div className="w-80 h-full">
<RoomList rooms={rooms} />
</div>
<div className="flex-grow">


Loading…
Cancel
Save