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
Start fixing app height when list is too large.
main
Titouan Rigoudy
4 years ago
parent
86fe0af694
commit
8846b914e8
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/components/SearchableList.tsx
+1
-1
src/components/SolsticeApp.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
overflow-auto"
>
{
children
}
<
/
ul
>
<
ul
className
=
"flex-
1 flex flex-col min-h-0
overflow-auto"
>
{
children
}
<
/
ul
>
<
/
div
>
)
;
}
;
+ 1
- 1
src/components/SolsticeApp.tsx
View File
@ -19,7 +19,7 @@ const MainPane: FC = () => {
const
{
path
}
=
useRouteMatch
(
)
;
return
(
<
main
className
=
"flex-1"
>
<
main
className
=
"flex-1
min-h-0
"
>
<
Switch
>
<
Route
path
=
{
`
${
path
}
rooms
`
}
>
<
RoomsPane
/
>
Write
Preview
Loading…
Cancel
Save