TootBottomSheet: fix the margin of the main toot
All checks were successful
/ depoly (push) Successful in 1m22s

This commit is contained in:
thislight 2025-01-02 23:24:05 +08:00
parent 0c7cb920f5
commit 01b753841e
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -173,7 +173,6 @@ const TootBottomSheet: Component = (props) => {
onChangeToot={ancestors.set} onChangeToot={ancestors.set}
/> />
<article>
<Show when={toot()}> <Show when={toot()}>
<TootEnvProvider value={mainTootEnv}> <TootEnvProvider value={mainTootEnv}>
<RegularToot <RegularToot
@ -184,6 +183,8 @@ const TootBottomSheet: Component = (props) => {
"calc(var(--scaffold-topbar-height) + 20px)", "calc(var(--scaffold-topbar-height) + 20px)",
cursor: "auto", cursor: "auto",
"user-select": "auto", "user-select": "auto",
"margin-top": "20px",
"margin-bottom": "20px",
}} }}
status={toot()!} status={toot()!}
actionable={!!actSession()} actionable={!!actSession()}
@ -192,7 +193,6 @@ const TootBottomSheet: Component = (props) => {
></RegularToot> ></RegularToot>
</TootEnvProvider> </TootEnvProvider>
</Show> </Show>
</article>
<Show when={(session().account as Account).inf}> <Show when={(session().account as Account).inf}>
<TootComposer <TootComposer