Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix overflow issue in patch body
Rūdolfs Ošiņš committed 1 year ago
commit 296c046ef702e9ad4fc6a9902e48938363154965
parent 67b685d3f57d86696001efa9e170dce2e5eac678
2 files changed +4 -2
modified src/components/Border.svelte
@@ -10,6 +10,7 @@
    stylePadding?: string;
    styleHeight?: string;
    styleMinHeight?: string;
+
    styleMinWidth?: string;
    styleWidth?: string;
    styleDisplay?: string;
    styleCursor?: "default" | "pointer" | "text";
@@ -36,6 +37,7 @@
    styleDisplay = "flex",
    styleCursor = "default",
    styleGap = "0.5rem",
+
    styleMinWidth,
    styleOverflow,
    flatTop = false,
    flatBottom = false,
@@ -54,8 +56,6 @@

<style>
  .container {
-
    white-space: nowrap;
-

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
@@ -245,6 +245,7 @@
  <div class="p3-2"></div>
  <div
    class="p3-3"
+
    style:min-width={styleMinWidth}
    style:display={styleDisplay}
    style:position={stylePosition}
    style:padding={stylePadding}
modified src/views/repo/Patch.svelte
@@ -485,6 +485,7 @@
      flatTop
      styleWidth="100%"
      stylePadding="1rem"
+
      styleMinWidth="0"
      styleDisplay="block"
      styleFlexDirection="column"
      styleAlignItems="flex-start">