"type to answer" box not high enough to display diacritics

I’m using Anki on Linux (desktop version) to learn Dzongkha. This language’s script (basically the Tibetan script) uses diacritics on top and below the letters.

I’m using the “type to answer” card type.

When I get prompted for a word I’m learning, I can enter the text but cannot distinguish the diacritics on top because they’re cut off. The ones on the bottom are fine.

Here is an example:

If you zoom in on the image, you’ll notice there’s a few pixels over the “ra” letter (the last one) but it’s impossible to make out that it’s a gikhu. If I enter a drengbo or naro, the displayed pixels look nigh the same to me.

When showing the answer (back of the card), it displays fine (because it’s not an input):

When I’m entering new cards, the input boxes are also displaying just fine and I can easily read the text I’ve entered:

This seems like a styling bug in the “type to answer” input box to me.

1 Like

Hey, can you try pasting this into styling:

#typeans {
  width: 100%;
  height: 2em;
  box-sizing: border-box;
}

If you want to adjust the size you can change the 2 in in this line:

height: 2em;

Good luck with Dzongkha! It’s a cool language (I’m near :bhutan: btw).

2 Likes

While this can be fixed in the templates, in my opinion users shouldn’t have to change something in the templates for that – it should be supported out of the box. That’s why I opened a PR:

3 Likes

Kadrinche @sorata :slight_smile:, this works for me as a stopgap measure so I can continue my study without being too impaired :folded_hands:

And thank you @Anon_0000 as well, for fixing it properly in the next release!

1 Like