File tree Expand file tree Collapse file tree
src/app/components/CssRush/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export function CodeItem({
111111 style = { style }
112112 { ...attributes }
113113 { ...listeners }
114- className = "flex items-start gap-2 mb-2 group cursor-grab active:cursor-grabbing select-none pointer-events-auto"
114+ className = "flex items-start gap-2 mb-0 group cursor-grab active:cursor-grabbing select-none pointer-events-auto"
115115 >
116116 { /* Drag Handle */ }
117117 < div
@@ -120,7 +120,9 @@ export function CodeItem({
120120 />
121121
122122 { /* Code Content */ }
123- < div className = "flex-1 px-3 py-2 rounded border border-slate-700 hover:border-slate-600 transition-colors text-xs select-none pointer-events-none" >
123+ < div className = { `flex-1 px-3 py-1 rounded transition-colors text-xs select-none pointer-events-none ${
124+ isSorting ? 'border border-slate-500' : 'border border-transparent group-hover:border-slate-600'
125+ } `} >
124126 < SyntaxHighlightedContent content = { content } />
125127 </ div >
126128 </ div >
You can’t perform that action at this time.
0 commit comments