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

Problem in the log in block of the Sympy Live #178

Open
Abhishek-IOT opened this issue Dec 28, 2020 · 6 comments
Open

Problem in the log in block of the Sympy Live #178

Abhishek-IOT opened this issue Dec 28, 2020 · 6 comments

Comments

@Abhishek-IOT
Copy link

Whenever we go to the login block of the sympy live the space is large that when we don't go to the login but it stays like we are clicking on the login . And it does'nt respond also .
SympyLogin

@Abhishek-IOT
Copy link
Author

Can any one help me to fix this issue??

@waldyrious
Copy link

@Abhishek-IOT nice catch. I used the browser inspector to identify what styles were applied to that element. Turns out the <h3> box that wraps the "Log In" link had the following style, in a stylesheet called live-core.css:

.sidebar_card h3:first-child {
  cursor: pointer;
}

But that just makes the cursor show up as a hand, without actually activating the link within when clicked.

There's no file named live-core.css in this repo, so I searched the sympy organization for "h3:first-child", which revealed the actual source.

The fix was to actually expand the link (<a>) element inside the <h3>, by making it display as a block (which occupies all the available horizontal space), using the display: block CSS rule. I've submitted that fix as PR sympy/sympy-web-static#12.

I'm describing what I did in the hopes it may help you experiment yourself in the future with similar issues. Let me know if anything isn't clear!

@Abhishek-IOT
Copy link
Author

@waldyrious First of all thanks for replying....I also somewhat understood that to maintain the structure of the website that block was designed and it led to this thing that whenever the cursor was not there also it showed up hand .

@Abhishek-IOT
Copy link
Author

@waldyrious can you help me to have the setup of sympy live so that I can also contribute to it.......I sometimes not able to understand the code though.....

@Abhishek-IOT Abhishek-IOT reopened this Dec 28, 2020
@Abhishek-IOT
Copy link
Author

sympy-live/css....I don't find any directory like sympy-live in the sympy-live repo and there is no css file also.

@waldyrious
Copy link

@waldyrious can you help me to have the setup of sympy

Sorry, I don't know how to do it either. I just follow this project out of curiosity, and happened to know how to solve the particular issue you raised in this thread. Hopefully someone else can help you.

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

No branches or pull requests

2 participants