Skip to content

Commit 921a95e

Browse files
committed
Dashboard: Migrate Published contract > code tab from chakra to tailwind
1 parent c620540 commit 921a95e

File tree

2 files changed

+319
-367
lines changed

2 files changed

+319
-367
lines changed

apps/dashboard/src/@/components/blocks/code/code-segment.client.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const CodeSegment: React.FC<CodeSegmentProps> = ({
8686
return (
8787
<div
8888
className={
89-
"flex flex-col overflow-hidden rounded-lg border border-border"
89+
"flex flex-col overflow-hidden rounded-lg border border-border grow"
9090
}
9191
>
9292
{!hideTabs && (
@@ -106,7 +106,8 @@ export const CodeSegment: React.FC<CodeSegmentProps> = ({
106106

107107
{onlyTabs ? null : (
108108
<CodeClient
109-
className="rounded-none border-none"
109+
className="rounded-none border-none grow"
110+
scrollableContainerClassName="h-full"
110111
code={code}
111112
lang={
112113
isInstallCommand

0 commit comments

Comments
 (0)