-
Notifications
You must be signed in to change notification settings - Fork 33
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
HTML export to use cropped, centered images #101
Comments
Yeah. I want something like this:
Not sure about how to layout 5. :) |
That looks great to me. |
I think the core code change is in media = media_template % (
'more' if len(attachments) > 1 else 'one',
''.join(previews)) I think the solution would be to change the code to use classes "one", "two", "three", "four" and "more", and then just write more CSS. Currently, there's this: .more a {
max-width: 50%%;
max-height: 50%%;
display: block;
} If you have one, height and width should be 100%. If you have two, height should be 100%. If you have three, the first one should have height 100%. And so on. At least that's my naive approach. |
As discussed here: #100
The text was updated successfully, but these errors were encountered: