themoeway / kaikki-to-yomitan

Yomitan-compatible dictionaries from wikitionary data
https://github.com/themoeway/kaikki-to-yomitan/releases
53 stars 8 forks source link

Improve collapsable dictionary option #57

Closed emanuelps2708 closed 4 months ago

emanuelps2708 commented 4 months ago

Hi, Ponfrit.

I'm trying to switch to monolingual definitions so I hid the translation using the "Collapsible Dictionaries" feature, the thing is that even though I did it I still can see the translation instead of collapsing all the dict info, it does it per definition.

image

I think it would be nice to have something similar to Jitendex where the tags of the first definition are only visible.

image

StefanVukovic99 commented 4 months ago

I found some stuff in the Yomitan Settings > Configure collapsible dictionaries... > More... that might help: image

emanuelps2708 commented 4 months ago

Thank you so much Ponfrit, it worked, I put:

image


.definition-item[data-dictionary='kty-de-en'] {
    --collapsible-definition-line-count: 1.5;
}```