Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix thread reply overflow
✓ CI success Rūdolfs Ošiņš committed 1 year ago
commit 520876911c53c9d82839c39f7cba9c80ee2e31bd
parent 31b2d9a9e13ab63d21217263fe7bd710d6fdfe68
1 passed (1 total) View logs
2 files changed +2 -5
modified src/components/Border.svelte
@@ -38,7 +38,7 @@
    styleCursor = "default",
    styleGap = "0.5rem",
    styleMinWidth,
-
    styleOverflow,
+
    styleOverflow = "hidden",
    flatTop = false,
    flatBottom = false,
    styleBackgroundColor = "var(--color-background-default)",
modified src/components/Thread.svelte
@@ -65,7 +65,7 @@
  const root = $derived(thread.root);
  const replies = $derived(thread.replies);
  const style = $derived(
-
    replies.length > 0
+
    replies.length > 0 || showReplyForm
      ? "--local-clip-path: var(--2px-top-corner-fill)"
      : "--local-clip-path: var(--2px-corner-fill)",
  );
@@ -144,11 +144,9 @@
              disallowEmptyBody
              {submitInProgress}
              {rid}
-
              inline
              placeholder="Reply to comment"
              submitCaption="Reply"
              focus
-
              stylePadding="0.5rem 0.75rem"
              close={() => (showReplyForm = false)}
              submit={async ({ comment, embeds }) => {
                try {
@@ -165,7 +163,6 @@
              }} />
          </div>
        {/if}
-
        <div></div>
      </div>
    </Border>
  {/if}