-
Notifications
You must be signed in to change notification settings - Fork 31
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: Anime list columns expanded to full width #15
base: master
Are you sure you want to change the base?
Conversation
Can you go through the process @singhayushh what you have been working on |
popularList: popularList, | ||
ongoingList: ongoingList, | ||
}); | ||
setTimeout(function(){ |
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.
Previously, since the render method for home page was working concurrently with the other web scraping functions, the home page was getting rendered before the fetching of ongoing anime list was complete.
Here, I have added a simple timeout of 3 seconds for the render home page function. This 3 second delay is enough for the web scraping functions to complete before the rendering happens - thus solving the issue.
@@ -14,7 +14,7 @@ | |||
<div class="page-single"> | |||
<div class="container"> | |||
<div class="row ipad-width2"> | |||
<div class="col-md-8 col-sm-12 col-xs-12"> | |||
<div class="col-md-8 col-sm-12 col-xs-12" style="width: 100%"> |
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.
This is just a small change in css of the anime list columns. They were pushed to the left hand side of the screen previously, as mentioned in issue #12.
Linked Issue: #12
Changes
I had initially proposed to center the columns, but expanding them to full width looks even better.
Note
As PR #16 and this PR have relatively lesser change of code, I have merged the two commits together, so merging this PR will merge #16 automatically.
Screenshot for reference