-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add-on's max width doesn't respect window/card's width #3
Comments
@morning-paradigm Thank you for leaving the issue! That's super weird. The width seems to align with my card template - if possible, could you send me your card's Front, Back and CSS Templates? I think it might have something to do with the styling . (yourcards also just look super nice) |
+1 I came here to report this issue as well. Unlike your above example of a full-screen-width window, my Anki window is only 1/3 my screen width (so I can do my reviews with a browser and dictionary open in the other 2/3rds). Would be cleaner if this wrapped more reliably instead of stretching w/ scroll off-screen :)
|
Thank you @saxoncameron for the additional details and @morning-paradigm again for bringing this up! Just updated the addon so that it should follow the card's width regardless of if you percentage or px. Just click "Check For Updates" in the anki addon tab to get the newest version and tell me how it goes. |
Have finished today's reviews - will verify and report back tomorrow :) |
FYI this looks fixed now, I think you can close this issue @jerryzhou196. 👌 |
@jerryzhou196 the update has fixed it, but there's still one minor issue. The card canvas seems to be a little bit wider than it should be, resulting in a horizontal scroll, unless I stretch the window slightly wider. It isn't really an issue for since most of the time I use Anki in fullscreen, just thought it might be worth mentioning. |
@jerryzhou196 here are the templates you asked for. These are not really what makes the cards look good. I used the app called Kanji Study that can export to entry and it adds its own styling directly into the 'Meaning' field. I wish I could make Yomichan do something similar.
Back:
CSS:
Meaning field input:
|
@morning-paradigm Thank you the templates - experimenting around for a solution! @saxoncameron That's awesome! Though I am not sure what exactly I did to fix it :). I had to undo my solution I commented about earlier after a new issue came up that some people couldn't see the addon after that update. As a result, I am still experimenting around. Will keep you guys updated! |
Long rating history doesn't fit when used in a narrow window or in fullscreen when card's width is limited with CSS:
.card { max-width: 675px; }
The text was updated successfully, but these errors were encountered: