@@ -479,7 +479,7 @@ const PreviewPanel: React.FC<{
479479 < p className = "text-xs text-secondary" > Configure your drill settings</ p >
480480 </ div >
481481
482- < div className = "flex flex-1 flex-col gap-4 overflow-hidden p-3 md:p-4" >
482+ < div className = "red-scrollbar flex flex-1 flex-col gap-4 overflow-y-scroll p-3 md:p-4" >
483483 < div className = "flex flex-col gap-1" >
484484 < p className = "text-sm font-medium md:text-base" >
485485 { previewOpening . name }
@@ -598,7 +598,7 @@ const SelectedPanel: React.FC<{
598598 < h2 className = "text-xl font-bold" >
599599 Selected Openings ({ selections . length } )
600600 </ h2 >
601- < p className = "text-xs text-secondary" > Click to remove an opening</ p >
601+ < p className = "text-xs text-secondary" > Click X remove an opening</ p >
602602 </ div >
603603
604604 { /* Mobile header */ }
@@ -621,16 +621,8 @@ const SelectedPanel: React.FC<{
621621 < div className = "flex w-full flex-col" >
622622 { selections . map ( ( selection ) => (
623623 < div
624- tabIndex = { 0 }
625- role = "button"
626624 key = { selection . id }
627- onKeyDown = { ( e ) => {
628- if ( e . key === 'Enter' || e . key === ' ' ) {
629- removeSelection ( selection . id )
630- }
631- } }
632- onClick = { ( ) => removeSelection ( selection . id ) }
633- className = "group flex cursor-pointer items-center justify-between border-b border-white/5 p-3 transition-colors hover:bg-human-2/10 md:px-4"
625+ className = "flex items-center justify-between border-b border-white/5 p-3 transition-colors md:px-4"
634626 >
635627 < div className = "min-w-0 flex-1" >
636628 < div className = "flex items-center gap-2" >
@@ -657,8 +649,16 @@ const SelectedPanel: React.FC<{
657649 </ div >
658650 </ div >
659651 </ div >
660- < button className = "ml-2 text-secondary transition-colors group-hover:text-human-4" >
661- < span className = "material-symbols-outlined text-sm" >
652+ < button
653+ onKeyDown = { ( e ) => {
654+ if ( e . key === 'Enter' || e . key === ' ' ) {
655+ removeSelection ( selection . id )
656+ }
657+ } }
658+ onClick = { ( ) => removeSelection ( selection . id ) }
659+ className = "ml-2 text-secondary transition-colors hover:text-human-4"
660+ >
661+ < span className = "material-symbols-outlined !text-lg" >
662662 close
663663 </ span >
664664 </ button >
0 commit comments