nihil-admirari / modern-cloze-overlapper

Modern Cloze Overlapper for Anki
GNU Affero General Public License v3.0
12 stars 2 forks source link

Window Resolution changes when switching from Front and Back #5

Open abhishek7786 opened 1 month ago

abhishek7786 commented 1 month ago

Window size changes when switching from front and back Refer below Gif

@nihil-admirari many Thanks for the amazing addon.

Please take a look, in case it is easy fix please fix it, as while reviewing it becomes annoying.

Incase it can be fixed via some window/display configurations please let me know.

ClozeFrontBackResolution-ezgif com-video-to-gif-converter

nihil-admirari commented 1 month ago
  1. Are you using the latest Anki?
  2. Are you using vanilla templates from this repository or you've applied some modifications?
abhishek7786 commented 4 weeks ago

1) yes - Anki Version ⁨- 24.06.3 (d678e393)⁩ Python 3.9.18 Qt 6.6.2 PyQt 6.6.1

2) No modification applied, straight out of the box usage.

nihil-admirari commented 3 weeks ago

Do you have any addons installed?

Can you please post HTML for Text, Before|After|OnlyContext|RevealAll|InactiveHints, and Back Extra fields?

abhishek7786 commented 3 weeks ago

Front - {{cloze:Text}}

Back - {{cloze:Text}}
{{Back Extra}}

Styling - .card { font-family: arial; font-size: 20px; text-align: center; color: black; background-color: white; } .cloze { font-weight: bold; color: blue; } .nightMode .cloze { color: lightblue; }

In case you need something else please let me know.

Yes, many different addons are installed. (I'll try to disable few addons and try if any addon conflicts here, -> In case you've some easier way to understand which addon might be causing this let me know ).

nihil-admirari commented 3 weeks ago
  1. These aren't the correct Front and Back templates. Correct templates are at front.template.anki and back.template.anki. Steps 4 and 5 in How to Use explicitly ask you to use them. Please check that all the steps in How to Use have been followed.
  2. Yes, many different addons are installed.

    Please try without any.

  3. I've asked you to provide HTML sources for Text, Before|After|OnlyContext|RevealAll|InactiveHints, and Back Extra fields for the card you having an issue with. It's not the same as Front and Back templates. Field's HTML can be accessed by clicking on ‘Toggle HTML editor’ button in the upper right corner of every field in Anki's Browser. See the screenshot: Screenshot_20241105_181427