Skip to content

Commit

Permalink
fix(narrative): remove absolute positioning from narrative results pane
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-heppner-ibigroup committed Nov 9, 2021
1 parent 0bc25cd commit b9a4fbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions lib/components/app/call-taker-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,10 @@ class CallTakerPanel extends Component {
<div className='desktop-narrative-container'>
<NarrativeItineraries
containerStyle={{
bottom: '0',
display: 'flex',
flexDirection: 'column',
left: '0',
position: 'absolute',
right: '0',
flexDirection: 'column'
// FIXME: This top pixel value can be variable dependent on
// height of the form above. It may need to be specified differently
top: 210 + intermediatePlaces.length * 45
}}
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lib/components/narrative/narrative.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}

.otp .options > .header {
margin: 20px 10px 12px;
margin: 5px 10px 12px;
font-size: 16px;
}

Expand Down

0 comments on commit b9a4fbd

Please sign in to comment.