diff --git a/src/material/cards.css b/src/material/cards.css index b49f8b3..785ae71 100644 --- a/src/material/cards.css +++ b/src/material/cards.css @@ -18,7 +18,8 @@ } &>.card-pad { - margin-inline: var(--card-pad); + margin-left: var(--card-pad); + margin-right: var(--card-pad); } &>.card-gut { diff --git a/src/timelines/TootComposer.css b/src/timelines/TootComposer.css index ffce727..026cddc 100644 --- a/src/timelines/TootComposer.css +++ b/src/timelines/TootComposer.css @@ -2,7 +2,7 @@ --card-gut: 8px; contain: content; - > .MuiToolbar-root { + >.MuiToolbar-root { justify-content: space-between; > :first-child { @@ -27,8 +27,8 @@ flex-flow: row wrap; padding-top: 16px; padding-bottom: 8px; - margin-left: -0.5em; - margin-right: -0.5em; + margin-left: calc(var(--card-pad) - 0.5em); + margin-right: calc(var(--card-pad) - 0.5em); animation: TootComposerFadeIn 110ms var(--tutu-anim-curve-sharp) both; } @@ -42,4 +42,4 @@ 100% { opacity: 1; } -} +} \ No newline at end of file diff --git a/src/timelines/TootComposer.tsx b/src/timelines/TootComposer.tsx index 63784da..c44717f 100644 --- a/src/timelines/TootComposer.tsx +++ b/src/timelines/TootComposer.tsx @@ -316,7 +316,7 @@ const TootComposer: Component<{ return (