-
Notifications
You must be signed in to change notification settings - Fork 6
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
bugfix: figure env messes up grid #82
Conversation
We do indeed add the
|
EDIT: I'll keep the discussion over on #81 so I don't get us tangled, but I tentatively think it's not us! Will let you digest my thoughts over there before I go further though 😅 |
This isn't the solution to the problem, but while looking at the Lua I found this at the very bottom of the file closeread/_extensions/closeread/closeread.lua Line 519 in d5583d1
As far as I can tell, I don't think that's actually a function that we define? I'm just recording that here for now. |
With f1eb9b2, this is ready for review to merge in @andrewpbray! The change to propagate classes back is based on the similar Quarto code |
Oh hey: since this was originally into https://closeread-pr.netlify.app/gallery/demos/sticky-blocks/ Looks like it's not fixed there...hmm... what's going on here. Sidenote: |
Are our actions deploying on push to a branch or on opening a PR into a branch? I'm not sure exactly when
Mmm, I do wonder if we'd be better cordoning off tests. They could potentially stay on the site if it's easiest to keep them there (to take advantage of our current CI/CD), but maybe putting them in a separate category and labelling them as being for internal testing purposes is a good idea (once the work is fully merged in). |
Have stopped going all the way up the DOM in c9c6a9b. Returning to the sticky blocks demo, we do still have a problem. Our style stretching it across the screen is being overwritten by a more specific one from Quarto:
I think the easiest way around this is probably just to set our CSS grid style as |
(When we merge this one, we should probably squash it! There's been a lot of back-and-forth in the commits 😅) |
It feels like this is one of those rare cases when In terms of whether sticky blocks should be a demo or a test, I agree with your thoughts there. If we don't cordon off tests, among other things, it will bloat the docs with stuff that users might be kinda like wtf on. How about this approach for testing (just spitballing...):
When the profile metadata gets merged in, hopefully the "tests" glob overwrites the "!tests" one? |
🎉 🎉 🎉 |
Fixes #81