Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Make code blocks full-width in issues/patches and comments
Rūdolfs Ošiņš committed 1 year ago
commit 3f4c65321d94aa0089c0c2f37eff19da694e27c5
parent 70f61170c92f263c2d5d12608c37896cf5cdb9aa
3 files changed +9 -13
modified src/components/Comment.svelte
@@ -197,7 +197,7 @@
            state = "read";
          }} />
      {:else}
-
        <div style:overflow="hidden">
+
        <div style:overflow="hidden" style:width="100%">
          <Markdown breaks {rawPath} content={body} />
        </div>
      {/if}
modified src/views/projects/Issue.svelte
@@ -629,12 +629,10 @@
                }
              }} />
          {:else if issue.discussion[0].body}
-
            <div style:max-width="fit-content">
-
              <Markdown
-
                breaks
-
                content={issue.discussion[0].body}
-
                rawPath={rawPath(project.head)} />
-
            </div>
+
            <Markdown
+
              breaks
+
              content={issue.discussion[0].body}
+
              rawPath={rawPath(project.head)} />
          {:else}
            <span class="txt-missing">No description</span>
          {/if}
modified src/views/projects/Patch.svelte
@@ -846,12 +846,10 @@
                  }
                }} />
            {:else if description}
-
              <div style:max-width="fit-content">
-
                <Markdown
-
                  breaks
-
                  content={description}
-
                  rawPath={rawPath(patch.id)} />
-
              </div>
+
              <Markdown
+
                breaks
+
                content={description}
+
                rawPath={rawPath(patch.id)} />
            {:else}
              <span class="txt-missing">No description available</span>
            {/if}