File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,17 +118,17 @@ function SuccessContent() {
118118
119119 { status === "success" && (
120120 < div className = "space-y-6" >
121- < div className = "bg-black/50 border border-white/5 rounded-xl p-4 flex items-center justify-between gap-4 group hover:border-white/10 transition-colors" >
122- < code className = "text-primary font-mono text-sm sm:text-base break-all tracking-wider font-bold" >
121+ < div
122+ onClick = { handleCopy }
123+ className = "bg-black/50 border border-white/5 rounded-xl p-4 flex items-center justify-between gap-4 group hover:border-white/10 transition-colors cursor-pointer w-full overflow-hidden"
124+ title = "Click to copy license key"
125+ >
126+ < code className = "text-primary font-mono text-sm sm:text-base tracking-wider font-bold select-none whitespace-nowrap overflow-x-auto overflow-y-hidden hide-scrollbar flex-1 text-left min-w-0 hide-scrollbar pb-1" >
123127 { licenseKey }
124128 </ code >
125- < button
126- onClick = { handleCopy }
127- className = "w-10 h-10 shrink-0 bg-white/5 hover:bg-white/10 rounded-lg flex items-center justify-center transition-colors text-white/70 hover:text-white"
128- aria-label = "Copy license key"
129- >
129+ < div className = "w-10 h-10 shrink-0 bg-white/5 group-hover:bg-white/10 rounded-lg flex items-center justify-center transition-colors text-white/70 group-hover:text-white relative z-10" >
130130 { copied ? < Check className = "w-4 h-4 text-emerald-400" /> : < Copy className = "w-4 h-4" /> }
131- </ button >
131+ </ div >
132132 </ div >
133133
134134 < div className = "text-xs text-white/40 text-center" >
Original file line number Diff line number Diff line change @@ -108,9 +108,9 @@ export function DownloadsSection() {
108108 { copied ? "Copied!" : "Copy" }
109109 </ button >
110110 </ div >
111- < div className = "p-5 md:p-6 overflow-x-auto" >
112- < code className = "text-sm md:text-base font-mono text-[#4ADE80] break-words whitespace-pre-wrap " >
113- < span className = "text-white/30 mr-3" > $</ span >
111+ < div className = "p-5 md:p-6 overflow-x-auto hide-scrollbar flex w-full " >
112+ < code className = "text-sm md:text-base font-mono text-[#4ADE80] whitespace-nowrap flex items-center w-full pr-4 " >
113+ < span className = "text-white/30 mr-3 flex-shrink-0 " > $</ span >
114114 brew install --cask --no-quarantine devian-labs/tap/devian-desktop
115115 </ code >
116116 </ div >
You can’t perform that action at this time.
0 commit comments