composing toots #21

Merged
Rubicon merged 11 commits from feat-toot-composer into master 2024-09-28 07:30:40 +00:00
2 changed files with 40 additions and 34 deletions
Showing only changes of commit 2c0978b572 - Show all commits

View file

@ -229,17 +229,21 @@ const ReplyEditor: Component<{
onClick={(e) => inputRef.focus()}
>
<div class={tootComposers.replyInput}>
<Avatar src={props.profile.inf?.avatar} sx={{marginLeft: '-0.25em'}} />
<Avatar
src={props.profile.inf?.avatar}
sx={{ marginLeft: "-0.25em" }}
/>
<textarea
ref={inputRef!}
placeholder={`Reply to ${props.replyToDisplayName}...`}
style={{ width: "100%", border: "none" }}
></textarea>
<IconButton sx={{marginRight: '-0.5em'}}>
<IconButton sx={{ marginRight: "-0.5em" }}>
<Send />
</IconButton>
</div>
<Show when={typing()}>
<div
style={{
display: "flex",
@ -274,6 +278,7 @@ const ReplyEditor: Component<{
code={language()}
onCodeChange={setLanguage}
/>
</Show>
</div>
);
};

View file

@ -270,6 +270,7 @@ const TootBottomSheet: Component = (props) => {
)}
</For>
</TimeSourceProvider>
<div style={{height: "var(--safe-area-inset-bottom, 0)"}}></div>
</Scaffold>
);
};