Skip to content

Commit

Permalink
Fix overflow issue in patch body
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfs committed Jan 17, 2025
1 parent 67b685d commit 296c046
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Border.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
stylePadding?: string;
styleHeight?: string;
styleMinHeight?: string;
styleMinWidth?: string;
styleWidth?: string;
styleDisplay?: string;
styleCursor?: "default" | "pointer" | "text";
Expand All @@ -36,6 +37,7 @@
styleDisplay = "flex",
styleCursor = "default",
styleGap = "0.5rem",
styleMinWidth,
styleOverflow,
flatTop = false,
flatBottom = false,
Expand All @@ -54,8 +56,6 @@

<style>
.container {
white-space: nowrap;
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none;
Expand Down Expand Up @@ -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}
Expand Down
1 change: 1 addition & 0 deletions src/views/repo/Patch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@
flatTop
styleWidth="100%"
stylePadding="1rem"
styleMinWidth="0"
styleDisplay="block"
styleFlexDirection="column"
styleAlignItems="flex-start">
Expand Down

0 comments on commit 296c046

Please sign in to comment.