Skip to content

Commit

Permalink
chore: update layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ynwd committed Oct 29, 2024
1 parent 0c0df8a commit 657e806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/index/index.main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ export function Main(
{error && <Loading>{error}</Loading>}
{loading && <Loading>Loading</Loading>}
{!loading && (
<div class={`grow md:relative`}>
<div class={`grow relative`}>
<Background />
<div class="grow bg-center bg-no-repeat h-screen flex flex-col justify-end bg-gray-950 border-t border-l border-r border-gray-700">
<ListMessage data={data} />
</div>
<div class="fixed md:absolute bottom-0 left-0 right-0 p-3 z-10">
<div class="absolute bottom-0 left-0 right-0 p-3 z-10">
<MessageInput
avatar_url={props.avatar_url}
ws_url={props.ws_url}
Expand Down

0 comments on commit 657e806

Please sign in to comment.