File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1545,6 +1545,19 @@ function App() {
15451545 </ div >
15461546 </ div >
15471547 ) }
1548+
1549+ { /* Right Sidebar: Sequence Track */ }
1550+ < SequenceTrack
1551+ id = "sequence-track"
1552+ chains = { chains }
1553+ highlightedResidue = { highlightedResidue }
1554+ onHoverResidue = { ( ) => { } }
1555+ onClickResidue = { ( chain , resNo ) => viewerRef . current ?. focusResidue ( chain , resNo ) }
1556+ onClickAtom = { ( serial ) => viewerRef . current ?. highlightAtom ( serial ) }
1557+ isLightMode = { isLightMode }
1558+ coloring = { coloring }
1559+ colorPalette = { colorPalette }
1560+ />
15481561 </ div >
15491562
15501563 < ContactMap
@@ -1609,17 +1622,7 @@ function App() {
16091622 isLightMode = { isLightMode }
16101623 />
16111624
1612- < SequenceTrack
1613- id = "sequence-track"
1614- chains = { chains }
1615- highlightedResidue = { highlightedResidue }
1616- onHoverResidue = { ( ) => { } } // Hover disabled per user request
1617- onClickResidue = { ( chain , resNo ) => viewerRef . current ?. focusResidue ( chain , resNo ) }
1618- onClickAtom = { ( serial ) => viewerRef . current ?. highlightAtom ( serial ) }
1619- isLightMode = { isLightMode }
1620- coloring = { coloring }
1621- colorPalette = { colorPalette }
1622- />
1625+
16231626
16241627 < ToastContainer toasts = { toasts } onRemove = { removeToast } />
16251628
Original file line number Diff line number Diff line change @@ -620,8 +620,8 @@ export const Controls: React.FC<ControlsProps> = ({
620620 transition-transform duration-300 ease-in-out
621621 flex flex-col
622622 ${ isMobileSidebarOpen ? 'translate-x-0' : '-translate-x-full' }
623- md:translate-x-0 md:top-4 md:left-4 md:h-[calc(100vh-2rem)] md:rounded-xl md:z-10
624- ${ isLightMode ? 'bg-white border-neutral-900 shadow-none' : 'bg-neutral-900/80 border-white/10 md:shadow-2xl ' }
623+ md:relative md: translate-x-0 md:h-full md:w-80 md:rounded-none md:z-10 md:shrink-0
624+ ${ isLightMode ? 'bg-white border-neutral-900 shadow-none' : 'bg-neutral-900/80 border-white/10 md:bg-neutral-900 md: shadow-none ' }
625625 ` } >
626626 { /* Header - Fixed */ }
627627 < div className = "flex-none p-4 pb-2 relative" >
Original file line number Diff line number Diff line change @@ -155,9 +155,9 @@ export const SequenceTrack: React.FC<SequenceTrackProps> = ({
155155 const isAtomView = activeChain . atoms && activeChain . atoms . length > 0 ;
156156
157157 return (
158- < div id = { id } className = { `hidden md:flex fixed top-16 right-4 bottom-4 w-24 rounded-xl z-40 transition-transform duration-300 transform translate-x-0
159- ${ isLightMode ? 'bg-white/90 border border -neutral-300 shadow-xl ' : 'bg-black/60 border border -neutral-700 shadow-2xl ' }
160- backdrop-blur-md flex-col overflow-hidden` } >
158+ < div id = { id } className = { `hidden md:flex relative h-full w-24 rounded-none shrink-0 z-10 border-l
159+ ${ isLightMode ? 'bg-white border-neutral-300' : 'bg-black/90 border-neutral-700' }
160+ flex-col overflow-hidden` } >
161161
162162 { /* Header / Tabs - Compact Vertical */ }
163163 < div className = { `flex flex-col items-center pt-3 pb-2 gap-2 border-b ${ isLightMode ? 'border-neutral-200 bg-white/50' : 'border-neutral-800 bg-black/50' } z-10 flex-shrink-0 backdrop-blur-md` } >
You can’t perform that action at this time.
0 commit comments