Skip to content

Commit 0617743

Browse files
authored
Merge branch 'main' into fast-compress
2 parents 071d0ff + 3754007 commit 0617743

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

src/components/CodeEmbed/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const CodeEmbed = (props) => {
4545
const largeSketch = previewWidth && previewWidth > 770 - 60;
4646

4747
// Quick hack to make room for DOM that gets added below the canvas by default
48-
const domMatch = /create(Button|Select|P|Div|Input)/.exec(initialCode);
48+
const domMatch = /create(Button|Select|P|Div|Input|ColorPicker)/.exec(initialCode);
4949
if (domMatch && previewHeight) {
5050
previewHeight += 100;
5151
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: Jordan Philyaw
2+
url: http://jordanphilyaw.com
3+
category: contributor
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: oliver thurley
2+
url: http://oliverthurley.co.uk
3+
category: contributor
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: Renjie Li
2+
url: https://github.com/lirenjie95
3+
category: contributor

src/layouts/ReferenceItemLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ const seenParams: Record<string, true> = {};
142142
{entry.data.params &&
143143
entry.data.params.map((param: ReferenceParam) => (
144144
<div class="grid grid-cols-6 gap-gutter-md text-body">
145-
<span class="col-span-1 text-body">{param.name}</span>
145+
<span class="col-span-1 text-body whitespace-normal break-words overflow-wrap-break-word">{param.name}</span>
146146
<div
147147
class="col-span-5 [&_p]:m-0 [&_p]:inline [&_a]:underline"
148148
>

0 commit comments

Comments
 (0)