Skip to content

Commit

Permalink
Merge pull request #182 from zaaakher/ui/fix-x-scroll
Browse files Browse the repository at this point in the history
fix: scrollbar visible at all time
  • Loading branch information
vanpelt authored Sep 20, 2024
2 parents c945bb8 + f216aa2 commit 01eb95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/CodeViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default function CodeViewer({ id, code }: ViewerProps) {
<div className='code-syntax-wrapper'>
<div className='code-syntax relative rounded-lg border'>
<div className='grid w-full grid-cols-4 rounded-t-md border-b'>
<ul className='z-10 col-span-3 flex max-h-9 w-full overflow-y-hidden overflow-x-scroll rounded-tl-lg bg-background text-center text-sm font-medium text-gray-500 dark:text-gray-400'>
<ul className='z-10 col-span-3 flex max-h-9 w-full overflow-y-hidden overflow-x-auto rounded-tl-lg bg-background text-center text-sm font-medium text-gray-500 dark:text-gray-400'>
{frameworks.map((f, i) => (
<li key={f}>
<button
Expand Down

0 comments on commit 01eb95f

Please sign in to comment.