Skip to content

Commit

Permalink
Merge pull request #21 from zilliztech/fix_search_params
Browse files Browse the repository at this point in the history
fix style
  • Loading branch information
alwayslove2013 authored Apr 28, 2022
2 parents cc0f31f + 7d9c768 commit adc2b52
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
12 changes: 3 additions & 9 deletions esm/FederView/BaseView.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ export default class BaseView {
// left: `${canvas.width - 10}px`,
left: '16px',
top: '10px',
width: '260px',
// height: '250px',
width: '280px',
'max-height': `${height - 20}px`,
overflow: 'auto',
borderColor: whiteColor,
backgroundColor: panelBackgroundColor,
};
Expand All @@ -81,7 +82,6 @@ export default class BaseView {
'max-width': '180px',
'max-height': `${height - 20}px`,
overflow: 'auto',
// height: '400px',
borderColor: ZYellow,
backgroundColor: panelBackgroundColor,
};
Expand All @@ -99,11 +99,6 @@ export default class BaseView {
width: '240px',
display: 'flex',
pointerEvents: 'none',
// height: '500px',
// borderStyle: 'dashed',
// borderColor: ZYellow,
// borderWidth: '1px',
// backgroundColor: panelBackgroundColor,
};
Object.assign(hoveredPanel.style, hoveredPanelStyle);
dom.appendChild(hoveredPanel);
Expand All @@ -120,7 +115,6 @@ export default class BaseView {
}
.panel {
padding: 6px 8px;
point-events: none;
font-size: 12px;
}
.hide {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zilliz/feder",
"author": "[email protected]",
"version": "0.1.3",
"version": "0.1.4",
"description": "visualization packages for vector space",
"main": "dist/index.js",
"files": [
Expand Down
5 changes: 3 additions & 2 deletions test/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -13658,7 +13658,9 @@ ${indentData}`);
position: "absolute",
left: "16px",
top: "10px",
width: "260px",
width: "280px",
"max-height": `${height - 20}px`,
overflow: "auto",
borderColor: whiteColor,
backgroundColor: panelBackgroundColor
};
Expand Down Expand Up @@ -13704,7 +13706,6 @@ ${indentData}`);
}
.panel {
padding: 6px 8px;
point-events: none;
font-size: 12px;
}
.hide {
Expand Down

0 comments on commit adc2b52

Please sign in to comment.