fonol / anki-search-inside-add-card

An add-on providing full-text-search and PDF reading functionality to Anki's Add card dialog
https://ankiweb.net/shared/info/1781298089
GNU Affero General Public License v3.0
178 stars 24 forks source link

The input field will automatically become smaller #258

Open xuyaocrazy opened 3 years ago

xuyaocrazy commented 3 years ago

Describe the bug The size of the input field will automatically decrease every time a new card is added, and I have to re-save it in the field each time to restore the original default input field size

Expected behavior I hope to remember the font size I set every time I add a card

Screenshots GIF 2021-4-8 0-32-41

Environment (please complete the following information):

fonol commented 3 years ago

Hi, I notived a similar thing for me, but in the opposite direction. If I open the Add window, and then add one card, the fields grow a little bit in size. But just one time, after the following adds, they stay the same size. It started with 2.1.41 for me. Just to make sure, the fields are continuously growing for you, after each card? It seems like Anki is not applying the styles for the fields (font and font-size) when the add-on is enabled. Cannot tell why though but I'll investigate.

xuyaocrazy commented 3 years ago

Maybe I am use Chinese ,so the fields will be smaller. My situation is when I open the Add window, the fields is smaller than my previous settings. So I have to reset the font-size to ensure the comfort of reading. If I reset it, after the following adds, they also stay the same size. So I hope the add-on could remember the font-size of my previous settings. This way I don’t have to reset the settings every time I open the Add window. Looking forward to you solution.

unkshl commented 3 years ago

any solution for this problem?

OcileCollection commented 2 years ago

@xuyaocrazy Have you tried the new update? Did it solve the issue?