Skip to content

Commit 7f713bd

Browse files
matthprostlisalupi
authored andcommitted
fix(Snippet): remove after element on most of the lines (#5437)
* fix(Snippet): remove after element on most of the lines * fix: feedback
1 parent e766891 commit 7f713bd

File tree

4 files changed

+206
-41
lines changed

4 files changed

+206
-41
lines changed

.changeset/fluffy-bananas-type.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ultraviolet/ui": patch
3+
---
4+
5+
Fix `<Snippet />` improve selection by removing after element on most of the lines

packages/ui/src/components/Snippet/__stories__/Multiline.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const Multiline = Template.bind({})
44

55
Multiline.args = {
66
children: `# Install the package and start it
7-
pnpm add @ultraviolet/ui
8-
pnpm install
7+
pnpm add @ultraviolet/uipnpm add
8+
pnpm install
99
pnpm start`,
1010
}

0 commit comments

Comments
 (0)