diff --git a/src/viewer/App.tsx b/src/viewer/App.tsx index def7991..0424772 100644 --- a/src/viewer/App.tsx +++ b/src/viewer/App.tsx @@ -112,8 +112,7 @@ export default class App extends React.Component { currentStructureMatchIndex: null, currentStructureMatch: [], lastSelectedRow: undefined, - // collapsibleRows: {}, - collapsibleRows: { 1: constructNewSegment(1, 10, 0), 2: constructNewSegment(2, 6, 1), 5: constructNewSegment(5, 15, 0), 7: constructNewSegment(7, 10, 1), 0 : constructNewSegment(0, 20, 2)}, + collapsibleRows: {}, }; this.onMessage = this.onMessage.bind(this); diff --git a/src/viewer/hooks/useStyleManager.ts b/src/viewer/hooks/useStyleManager.ts index 272f659..c4275da 100644 --- a/src/viewer/hooks/useStyleManager.ts +++ b/src/viewer/hooks/useStyleManager.ts @@ -97,12 +97,10 @@ export const getSegmentStyle = (columnWidth: number, height: number): React.CSSP export const getSegmentRowStyle = (segmentWidth: number, top: number): React.CSSProperties => { const segmentRowStyle: React.CSSProperties = { - position: "sticky", + position: "absolute", height: LOG_ROW_HEIGHT, top: top, width: segmentWidth, - left: 0, - zIndex: 100, } return segmentRowStyle; } diff --git a/src/viewer/log/LogView.tsx b/src/viewer/log/LogView.tsx index 768a678..d19e804 100644 --- a/src/viewer/log/LogView.tsx +++ b/src/viewer/log/LogView.tsx @@ -174,12 +174,14 @@ export default class LogView extends React.Component { result.push(
{Object.keys(this.props.collapsibleRows).length > 0 && -
- {rowResult} +
+
+ {rowResult} +
}