File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ const DocumentTabs: React.FC<DocumentTabsProps> = ({
201201 aria-selected = { isActive }
202202 tabIndex = { 0 }
203203 data-tab-id = { id }
204- className = { `group relative flex items-center gap-2 px-3 py-1.5 border border-b-0 rounded-t-md cursor-pointer select-none transition-colors ${ isActive ? 'bg-background text-text-main border-border-color border-b-background shadow-sm' : 'bg-secondary/60 text-text-secondary hover:text-text-main hover:bg-secondary/80 border-border-color/70' } ` }
204+ className = { `group relative flex items-center gap-2 px-3 h-full border border-b-0 rounded-t-md cursor-pointer select-none transition-colors ${ isActive ? 'bg-background text-text-main border-border-color border-b-background shadow-sm' : 'bg-secondary/60 text-text-secondary hover:text-text-main hover:bg-secondary/80 border-border-color/70' } ` }
205205 onClick = { ( ) => onSelectTab ( id ) }
206206 onKeyDown = { ( event ) => {
207207 if ( event . key === 'Enter' || event . key === ' ' ) {
@@ -238,15 +238,15 @@ const DocumentTabs: React.FC<DocumentTabsProps> = ({
238238 } ) ;
239239
240240 return (
241- < div className = "border-b border-border-color bg-secondary/70" >
242- < div className = "flex items-center gap-1 px-2" >
241+ < div className = "border-b border-border-color bg-secondary/70 h-7 flex items-center " >
242+ < div className = "flex items-center gap-1 px-2 w-full h-full " >
243243 < div
244244 ref = { scrollContainerRef }
245- className = "flex-1 overflow-hidden"
245+ className = "flex-1 overflow-hidden h-full "
246246 onDragOver = { handleDragOver }
247247 onDrop = { handleContainerDrop }
248248 >
249- < div className = "flex items-stretch gap-1 overflow-x-auto py-1 pr-2" role = "tablist" >
249+ < div className = "flex items-stretch gap-1 overflow-x-auto h-full pr-2" role = "tablist" >
250250 { tabElements }
251251 </ div >
252252 </ div >
You can’t perform that action at this time.
0 commit comments