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: Anime list columns expanded to full width #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix: Anime list columns expanded to full width #15

wants to merge 2 commits into from

Conversation

singhayushh
Copy link
Collaborator

@singhayushh singhayushh commented Mar 24, 2021

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
image

@ArunTeltia
Copy link
Member

Can you go through the process @singhayushh what you have been working on

popularList: popularList,
ongoingList: ongoingList,
});
setTimeout(function(){
Copy link
Collaborator Author

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%">
Copy link
Collaborator Author

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.

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

Successfully merging this pull request may close these issues.

None yet

3 participants