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