TootBottomSheet: fix the margin of the main toot
All checks were successful
/ depoly (push) Successful in 1m22s
All checks were successful
/ depoly (push) Successful in 1m22s
This commit is contained in:
parent
0c7cb920f5
commit
01b753841e
1 changed files with 20 additions and 20 deletions
|
@ -173,26 +173,26 @@ 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
|
id={`toot-${toot()!.id}`}
|
||||||
id={`toot-${toot()!.id}`}
|
class={cards.card}
|
||||||
class={cards.card}
|
style={{
|
||||||
style={{
|
"scroll-margin-top":
|
||||||
"scroll-margin-top":
|
"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()!}
|
}}
|
||||||
actionable={!!actSession()}
|
status={toot()!}
|
||||||
evaluated={true}
|
actionable={!!actSession()}
|
||||||
onClick={handleMainTootClick}
|
evaluated={true}
|
||||||
></RegularToot>
|
onClick={handleMainTootClick}
|
||||||
</TootEnvProvider>
|
></RegularToot>
|
||||||
</Show>
|
</TootEnvProvider>
|
||||||
</article>
|
</Show>
|
||||||
|
|
||||||
<Show when={(session().account as Account).inf}>
|
<Show when={(session().account as Account).inf}>
|
||||||
<TootComposer
|
<TootComposer
|
||||||
|
|
Loading…
Add table
Reference in a new issue