-
Notifications
You must be signed in to change notification settings - Fork 207
Gallery output images have own css class #210
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
Conversation
A little survey on preferences: Given that the gallery output images now get an own CSS class. Should we keep Sphinx standard styling directives |
I am fine moving things to the CSS. |
I moved image styles to CSS. Changed to new names |
I think you could add a Other than this, LGTM. |
if I it's not too complex, I agree with @lesteve about adding a target, though I don't think it should be blocking on this PR if it is complicated |
@Titan-C I just hit a use case where this is necessary, as I need to add |
@larsoner feel free to take over. Although I think we should merge this directly. |
I'm proposing a CSS zoom on the images. |
Codecov Report
@@ Coverage Diff @@
## master #210 +/- ##
=======================================
Coverage 91.76% 91.76%
=======================================
Files 27 27
Lines 1833 1833
=======================================
Hits 1682 1682
Misses 151 151
Continue to review full report at Codecov.
|
I just tried it and for galleries with large images it's difficult to avoid mousing over the image and hitting the zoom behavior, which in turn covers up the narrative. This makes interaction a bit clunky, so -1 on that for me. (Aethestically I also find the changes too distracting / invasive to make it a default.) But otherwise the CSS change of |
@lesteve are you okay with this one as is? Seems like a pretty straightforward CSS flexibility / extension now. +1 for merge from me, fixes PySurfer doc build nipy/PySurfer#225 (though the new floating buttons also break it :) ) |
+1 on merge - always better to use classes than to hard-code css styles IMO. If nobody protests I'll merge this tomorrow AM unless somebody beats me to it |
🎉 |
In response to #209