Skip to content

Commit e636285

Browse files
committed
update modal
1 parent 3dc1893 commit e636285

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

dashboard/ai-analytics/src/components/ui/onboarding-modal.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ export function OnboardingModal({ isOpen, onClose }: OnboardingModalProps) {
237237
const activeTabData = TABS.find(tab => tab.id === activeTab)
238238

239239
return (
240-
<div className="flex flex-col h-full p-6">
240+
<div className="flex flex-col h-full">
241241
{/* Tabs */}
242-
<div className="flex border-b border-[#333333] mb-4">
242+
<div className="flex mb-4">
243243
{TABS.map(tab => (
244244
<button
245245
key={tab.id}
@@ -257,7 +257,7 @@ export function OnboardingModal({ isOpen, onClose }: OnboardingModalProps) {
257257
</div>
258258

259259
{/* Code snippet with copy button */}
260-
<div className="relative bg-[#2A2A2A] rounded-md mb-6 overflow-auto max-h-[400px]">
260+
<div className="relative bg-[#2A2A2A] rounded-md mb-6 overflow-auto h-[400px]">
261261
<button
262262
onClick={handleCopySnippet}
263263
className="absolute top-2 right-2 p-2 rounded-md bg-[#1C1C1C] text-[#8D8D8D] hover:text-white transition-colors z-10"
@@ -270,12 +270,13 @@ export function OnboardingModal({ isOpen, onClose }: OnboardingModalProps) {
270270
style={vscDarkPlus}
271271
customStyle={{
272272
margin: 0,
273-
padding: '1.5rem',
273+
padding: '24px',
274274
background: '#2A2A2A',
275275
borderRadius: '0.375rem',
276276
fontSize: '0.875rem',
277277
lineHeight: '1.5',
278-
overflow: 'auto'
278+
overflow: 'auto',
279+
height: '100%'
279280
}}
280281
showLineNumbers={false}
281282
>

0 commit comments

Comments
 (0)