-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix design audit #60
base: main
Are you sure you want to change the base?
fix design audit #60
Conversation
// replacing just the first instance of height, and for now we assume all heights are originally 200px | ||
// TODO improve this logic | ||
workingSvg = workingSvg.replace('height="200px"', 'height="' + this.height + 'px"'); | ||
if (this.height < 200) { | ||
workingSvg = workingSvg.replace('viewBox="0 0 100 100"', 'viewBox="0 25 100 50"') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, is it possible to crop the svgs upstream?
@@ -33,6 +33,8 @@ export class ResultsComponent { | |||
|
|||
allRows: GeneratedStructureViewModel[] = []; | |||
filteredRows: GeneratedStructureViewModel[] = []; | |||
// number showed on filter button | |||
filterLenth: number = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
filterLenth
-> filterLength
setTimeout(() => { | ||
this.handleScroll(point.name, true); | ||
}); | ||
this.handleScroll(point.name, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found out don't have to do handleScroll in setTimeout
No description provided.