This website works better with JavaScript.
Home
Explore
Help
Sign In
titouan
/
solstice-web
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
WIP: attempt to fix over-long formatting of searchable list.
main
Titouan Rigoudy
4 years ago
parent
b48fde70d2
commit
c0d67647c8
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/components/SearchableList.tsx
+1
-1
src/modules/room/RoomList.tsx
+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"
>
Write
Preview
Loading…
Cancel
Save