mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 09:58:11 +08:00
avoid overflow on clip dialogue (#740)
This commit is contained in:
@@ -894,7 +894,6 @@ class Graph extends React.Component {
|
|||||||
marginLeft: 10
|
marginLeft: 10
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Tooltip content="Visualization settings" position="left">
|
|
||||||
<Popover
|
<Popover
|
||||||
target={
|
target={
|
||||||
<Button
|
<Button
|
||||||
@@ -905,6 +904,7 @@ class Graph extends React.Component {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
position={Position.BOTTOM_RIGHT}
|
||||||
onOpening={this.handleClipOpening}
|
onOpening={this.handleClipOpening}
|
||||||
onClosing={this.handleClipClosing}
|
onClosing={this.handleClipClosing}
|
||||||
content={
|
content={
|
||||||
@@ -929,9 +929,7 @@ class Graph extends React.Component {
|
|||||||
>
|
>
|
||||||
<NumericInput
|
<NumericInput
|
||||||
style={{ width: 50 }}
|
style={{ width: 50 }}
|
||||||
onValueChange={
|
onValueChange={this.handleClipPercentileMinValueChange}
|
||||||
this.handleClipPercentileMinValueChange
|
|
||||||
}
|
|
||||||
onKeyPress={this.handleClipOnKeyPress}
|
onKeyPress={this.handleClipOnKeyPress}
|
||||||
value={clipMin}
|
value={clipMin}
|
||||||
min={0}
|
min={0}
|
||||||
@@ -948,15 +946,10 @@ class Graph extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<span style={{ marginRight: 5, marginLeft: 5 }}>
|
<span style={{ marginRight: 5, marginLeft: 5 }}> - </span>
|
||||||
{" "}
|
|
||||||
-{" "}
|
|
||||||
</span>
|
|
||||||
<NumericInput
|
<NumericInput
|
||||||
style={{ width: 50 }}
|
style={{ width: 50 }}
|
||||||
onValueChange={
|
onValueChange={this.handleClipPercentileMaxValueChange}
|
||||||
this.handleClipPercentileMaxValueChange
|
|
||||||
}
|
|
||||||
onKeyPress={this.handleClipOnKeyPress}
|
onKeyPress={this.handleClipOnKeyPress}
|
||||||
value={clipMax}
|
value={clipMax}
|
||||||
min={0}
|
min={0}
|
||||||
@@ -973,13 +966,14 @@ class Graph extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<span style={{ marginRight: 5, marginLeft: 5 }}> </span>
|
|
||||||
<Button
|
<Button
|
||||||
type="button"
|
type="button"
|
||||||
className="bp3-button"
|
className="bp3-button"
|
||||||
disabled={this.isClipDisabled()}
|
disabled={this.isClipDisabled()}
|
||||||
style={{
|
style={{
|
||||||
cursor: "pointer"
|
cursor: "pointer",
|
||||||
|
marginRight: 5,
|
||||||
|
marginLeft: 5
|
||||||
}}
|
}}
|
||||||
onClick={this.handleClipCommit}
|
onClick={this.handleClipCommit}
|
||||||
>
|
>
|
||||||
@@ -989,7 +983,6 @@ class Graph extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</Tooltip>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style={{ marginLeft: 10 }} className="bp3-button-group">
|
<div style={{ marginLeft: 10 }} className="bp3-button-group">
|
||||||
|
|||||||
Reference in New Issue
Block a user