File tree Expand file tree Collapse file tree
ui/src/components/HighlightedCode Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ function HighlightedCodeComponent({
138138 < div
139139 tabIndex = { 0 }
140140 className = { cn (
141- "overflow-x-auto [&_pre]:!m-0 [&_pre]:overflow-x-auto [&_code]:!font-mono" ,
141+ "overflow-x-auto [&_pre]:!m-0 [&_pre]:overflow-x-auto [&_code]:!font-mono focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary " ,
142142 compact
143143 ? "[&_pre]:!px-2.5 [&_pre]:!py-1.5 [&_pre]:!text-[11px] [&_pre]:!leading-relaxed"
144144 : "[&_pre]:!p-4 [&_pre]:!text-sm" ,
@@ -152,7 +152,7 @@ function HighlightedCodeComponent({
152152 < pre
153153 tabIndex = { 0 }
154154 className = { cn (
155- "overflow-x-auto bg-muted/50 text-foreground font-mono" ,
155+ "overflow-x-auto bg-muted/50 text-foreground font-mono focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary " ,
156156 compact ? "px-2.5 py-1.5 text-[11px] leading-relaxed" : "p-4 text-sm" ,
157157 showLanguage && language && ! compact && "pt-8" ,
158158 maxHeight && "overflow-y-auto"
You can’t perform that action at this time.
0 commit comments