Skip to content

Commit 874f74d

Browse files
committed
Place file upload tooltips to the right of the cursor to avoid being obscured by navbar
1 parent 0acdb3b commit 874f74d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

static/js/components/Datasets.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@ let DatasetForm = (props) => {
7171

7272
<CesiumTooltip
7373
id="headerfileTooltip"
74+
place="right"
7475
text={["filename,label", <br key={1} />, "ts1.dat,class_A", <br key={2} />, "..."]}
7576
/>
7677
<CesiumTooltip
7778
id="tarfileTooltip"
79+
place="right"
7880
text={[
7981
"Each file in tarball should be formatted as follows",
8082
<br />, "(column titles are optional)", <br />, <br />,

static/js/components/Tooltip.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ CesiumTooltip.propTypes = {
2020
};
2121
CesiumTooltip.defaultProps = {
2222
place: 'top',
23-
delay: 700
23+
delay: 500
2424
};
2525
export default CesiumTooltip;

0 commit comments

Comments
 (0)