Ensure that ViewOptions are scrollable
parent
9320516b99
commit
36818623d8
|
@ -49,7 +49,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.time-machine-cusomization {
|
.time-machine-customization {
|
||||||
background-color: $g2-kevlar;
|
background-color: $g2-kevlar;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
|
|
@ -180,7 +180,8 @@ $threesizer-shadow-stop: fade-out($g0-obsidian, 1);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.threesizer--header+& {
|
.threesizer--header+& {
|
||||||
flex: 1 0 0;
|
flex: 1 1 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ import {setType} from 'src/shared/actions/v2/timeMachines'
|
||||||
import ViewTypeSelector from 'src/shared/components/ViewTypeSelector'
|
import ViewTypeSelector from 'src/shared/components/ViewTypeSelector'
|
||||||
import Threesizer from 'src/shared/components/threesizer/Threesizer'
|
import Threesizer from 'src/shared/components/threesizer/Threesizer'
|
||||||
import OptionsSwitcher from 'src/shared/components/view_options/OptionsSwitcher'
|
import OptionsSwitcher from 'src/shared/components/view_options/OptionsSwitcher'
|
||||||
|
import FancyScrollbar from 'src/shared/components/fancy_scrollbar/FancyScrollbar'
|
||||||
|
|
||||||
// Utils
|
// Utils
|
||||||
import {getActiveTimeMachine} from 'src/shared/selectors/timeMachines'
|
import {getActiveTimeMachine} from 'src/shared/selectors/timeMachines'
|
||||||
|
@ -43,17 +44,23 @@ class ViewOptions extends PureComponent<Props> {
|
||||||
name: 'Visualization Type',
|
name: 'Visualization Type',
|
||||||
headerButtons: [],
|
headerButtons: [],
|
||||||
render: () => (
|
render: () => (
|
||||||
<ViewTypeSelector
|
<FancyScrollbar>
|
||||||
type={view.properties.type}
|
<ViewTypeSelector
|
||||||
onUpdateType={onUpdateType}
|
type={view.properties.type}
|
||||||
/>
|
onUpdateType={onUpdateType}
|
||||||
|
/>
|
||||||
|
</FancyScrollbar>
|
||||||
),
|
),
|
||||||
headerOrientation: HANDLE_VERTICAL,
|
headerOrientation: HANDLE_VERTICAL,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Customize',
|
name: 'Customize',
|
||||||
headerButtons: [],
|
headerButtons: [],
|
||||||
render: () => <OptionsSwitcher view={view} />,
|
render: () => (
|
||||||
|
<FancyScrollbar>
|
||||||
|
<OptionsSwitcher view={view} />
|
||||||
|
</FancyScrollbar>
|
||||||
|
),
|
||||||
headerOrientation: HANDLE_VERTICAL,
|
headerOrientation: HANDLE_VERTICAL,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue