Skip to content

Commit

Permalink
some scroll + padding cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
amy-corson-ibigroup committed Aug 7, 2024
1 parent e417ac3 commit 62ef9a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/components/app/batch-routing-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class BatchRoutingPanel extends Component<Props> {
>
<div
ref={this._itinerariesAndUserRef}
style={{ height: '100%', overflowY: 'scroll' }}
style={{ height: '100%', overflowY: 'auto' }}
>
{!activeSearch && showUserSettings && (
<UserSettings
Expand All @@ -187,7 +187,7 @@ class BatchRoutingPanel extends Component<Props> {
className="desktop-narrative-container"
style={{
flexGrow: 1,
height: '100%',
height: activeSearch ? '100%' : 'auto',
overflowY: 'hidden'
}}
>
Expand Down
3 changes: 1 addition & 2 deletions lib/components/form/advanced-settings-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const PanelOverlay = styled.div`
top: 0;
width: 100%;
z-index: 100;
overflow-y: scroll;
overflow-y: auto;
`

const GlobalSettingsContainer = styled.div`
Expand Down Expand Up @@ -92,7 +92,6 @@ const ReturnToTripPlanButton = styled.button`
`

const DtSelectorContainer = styled.div`
padding: 1em;
margin: 2em 0;
.date-time-modal {
Expand Down

0 comments on commit 62ef9a3

Please sign in to comment.