Skip to content

Commit 0363d61

Browse files
Update create-code-editor.tsx
1 parent fad70b4 commit 0363d61

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/components/create-code-editor.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export function CreateCodeEditor({
258258
<Button
259259
onClick={() => formatCode()}
260260
className="flex items-center gap-2 _just_monacoEditorButtons disabled:cursor-not-allowed notification"
261-
style="border-radius: calc(var(--radius) - 2px) !important;"
261+
id="_just_style_border"
262262
disabled={formatLoading}
263263
>
264264
<Sparkles size={16} className="size-2 sm:size-4" />
@@ -268,7 +268,7 @@ export function CreateCodeEditor({
268268
buttonChildren={
269269
<>
270270
<SendHorizonal size={16} className="size-2 sm:size-4" />
271-
<div id="__just_publish" onClick={() => {publishCode()}}>Publish</div>
271+
<div id="__just_publish _just_styleParent_border" onClick={() => {publishCode()}}>Publish</div>
272272
</>
273273
}
274274
dropdownChildren={
@@ -294,9 +294,6 @@ export function CreateCodeEditor({
294294
className={{
295295
button: "flex items-center gap-2 _just_monacoEditorButtons disabled:cursor-not-allowed notification",
296296
}}
297-
style={{
298-
button: "border-radius: calc(var(--radius) - 2px) !important;",
299-
}}
300297
disabled={formatLoading || code === ""}
301298
options={{
302299
DropdownMenuContent: {

0 commit comments

Comments
 (0)