-
Notifications
You must be signed in to change notification settings - Fork 18
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
grid css broken #96
Comments
Hi DandyClubs, thank you for opening this issue! 💜 Sorry, but I had to edit your post and redact your URL because NSFW URLs are not allowed. This is actually intentional. When a site uses a CSS Grid template for its page element and Infy has to append a page divider inside the template, a change has to be made to keep the divider from breaking the grid because the divider isn't a regular column and needs to take up the full width. When Infy modifies the grid template, it uses the same template pixel values returned from the Window.getComputedStyle() method. I know that this causes the grid to use static pixel values, which isn't ideal if the screen is later resized, but the tradeoff of having a divider and grid that are compatible in the majority of cases is worth it. If you don't like it making that change, here are a couple of solutions for you:
Overriding the styles like that might not work because I use inline styles that are hardened with Do one of these solutions work for you? |
I try but apply database rules can't apply my saved rule |
I'm not sure which URL you are trying to make that work with, but that save will only check for URLs that start with |
OK, I did some more testing and I was able to find a website where the grid modification I'm doing actually does break the grid. I only tested the grid modification on Pixiv and a few other websites where it was successful, and so I thought it would work for every website and thus turned it on by default. What I'm going to do is to make the grid modification an optional setting, and it won't be on by default. That should resolve your issue. Thank you for bringing this to my attention! |
Description
use stylus
infy scroll is append css
grid-template-columns: 316.25px 316.25px 316.25px !important;
size is random px per site
so ignored grid-template-columns: repeat(4, 1fr);
i try ignore grid-template-columns: 316.25px 316.25px 316.25px !important;
요소 { /* grid-template-columns: 316.25px 316.25px 316.25px !important; */ }
all post grid broekn.
URL
[Redacted]
Version
8
Browser
firefox edge
OS
windows 11
Device
PC
Adherence
The text was updated successfully, but these errors were encountered: