The issue is that the 1.1 is being displayed vertically. On anki web and anki mobile, I am not having this issue. It is being displayed properly and looks like this:
I tried this with the latest version of anki and also with a previous version. All my add-ons are disabled as well.
Does anyone know why this is happening or how to fix this?
Hi shallash, thank you for trying to help. I am using inline-block is because it allows me to set a width for the element. As you can see in the styling, I set the width to 0 so that the iteration number doesn’t take up any space in its original location. This way I can have it show up in the margin without leaving a gap where it used to be. If I were to use inline instead, it wouldn’t allow me to change the width, and thus there would be a gap.
EDIT: and yeah the same html+css in jsfiddle seems to work properly, so it’s possible this is due to anki PC’s default stylesheet overriding something.
It only looks the same because there is only 1 line haha. You’ll notice the gap when there are at least two lines of text for each definition. Then you’ll see that the first line is shifted to the right a bit because of the original location of the iteration number.