Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

fix design audit #60

wants to merge 3 commits into from

Conversation

chasing311
Copy link
Contributor

No description provided.

// 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"')
Copy link
Collaborator

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;
Copy link
Collaborator

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);
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants