[request] Show smaller font (make words fit)

There’s an option for each database column to “Show Bigger”, which is said to be useful for Chinese.

I need an option to “Show Smaller”, so I don’t risk long words getting cut off - or alternatively a “don’t use two-column layout in quizzes”. Greenlandic has looooong words.


In this case there’s only one long word, but if both Akunnittarfimmiippoq and Akunnittarfimmiippa, or perhaps Akunnittarfimmiippit or Akunnittarfimmiippugut, had been present, good luck picking the correct answer…

Here’s another one:


The word is napparsimmavimmi, in case you wonder :).

2 Likes

I think this should be something that Memrise could fix with CSS, so that the word wraps to the next line instead of getting cut off.

If you don’t get a reply in a couple of days, feel free to post here again and I might be able to write a userstyle to fix this on your computer, at least.

Thank you for the suggestion :).

I’m not sure that css would be able to wrap correctly for Greenlandic though (I did some quick googling, which suggests that it primarily works for English, and on one mozilla page, Greenlandic wasn’t even listed among that languages that are not supported :(). I’d not be too keen on having incorrect hyphenation in a language course…

The hyphenation rules for Greenlandic are reasonable simple though, and I already have a python script that does it, so if there’s any way to specify the hyphenation rules to be used, I’ll be happy to supply them in whatever format is needed :).

Ya, no problem :slight_smile:

I think overflow-wrap is the CSS property that you’d want to use. It should just break words across multiple lines, without introducing hyphens into the words.

Oh, I see.

I’m still not convinced I’ll love it as a solution, but I guess it could be an ok workaround :). So if you do have the time, I’d appreciate it :).
I still think the solution on Memrise’s part should be to make a smaller font option, which should be easy enough since they already offer a larger font option, but I also know that it isn’t likely to happen in this century ;).

Fair enough :slight_smile:

Let me see what I can do.

Try adding this code to a userstyle and see if it works for you :slight_smile:

.garden-box.multiple_choice ol.choices li .val {
    float: none;
    overflow-wrap: break-word;
}
1 Like

Thank you :).
I added font-size: 75%; and now I’m happy as pie :star_struck:.
I guess I really needed a nudge to get started with user styles…
:+1:

2 Likes

You’re welcome :slight_smile:

I personally try to use userstyles as little as possible, but they do have their uses sometimes :slight_smile: (Plus it’s fun to write CSS ^_^)

Yeah, memrise should fix this (the system is basically broken for long words), so it wouldn’t be necessary to use userstyles for this :).

I ended up using this code (just because it’s cleaner to limit the css to be applied to memrise.com, even though the risk of collisions is minimal (I’m on firefox, obviously ;))
@-moz-document domain(www.memrise.com) {
.garden-box.multiple_choice ol.choices li .val {
float: none;
overflow-wrap: break-word;
font-size: 80%;
}
}

And here’s how it looks when even the smaller font isn’t enough, so it also applies the word-wrap:
image
(the word is really aningaasarsissanngilatit (which means something like you will not paid/you will not receive your paycheck))

3 Likes

Looks pretty good :slight_smile:

@BeaTrisy, any chance of getting a fix like this merged into the actual site?

I do not want a smaller font, but to be able to see the whole word; as strange as might seem, i am not the only one taking the courses i’ve created, therefore a local script is of no use These two paralles columns were a change introduced by the team, without second thoughts “wasted” over longer words/sentences

Capture

I would also prefer to see the whole word/get rid of the two columns. BUT I think that’s unlikely to happen - they aren’t going to give up the two columns in general (in most cases it works well), and making a setting for it would be a certain amount of work.

Making an option for a smaller font however, should be a pretty simple thing to do, because there already exists an option for a larger font, which should make it easy to identify all places where it occurs. If such an option is introduced, you’ll still be perfectly able to not use it.

I am also not the only one taking my courses - in fact I raised this issue because a friend was complaining about it. A local user script is never a solution to anything, HOWEVER, the way memrise is currently functioning, it isn’t designed for languages with long words (even though German is a much larger language than Greenlandic), so realistically, I think users interested in such languages will de facto be stuck with a choice between malfunction or userscript.

Let’s not discard a realistic 90% solution just because we can’t have the perfect solution.

1 Like

@Hydroptere

Da war der der Verwandlungskünstler am Werk und hat das korrekte Wort “wurmstichig” in das (noch) nicht existente Wort “wurmsichtig” verwandelt :grinning:

1 Like

danke, bis dato nicht bemerkt :rofl:

what ever, for German words happens very often, that the user cannot see the whole word

is anybody taking this thread seriously, i mean, among the crew? please? please???

Capture

1 Like

if all i want is word-wrap, would this be ok?

@-moz-document domain(www.memrise.com) {
.garden-box.multiple_choice ol.choices li .val {
float: none;
overflow-wrap: break-word

many thanks

You use the code I posted, but leave out the one line about font-size.
In the code you pasted, you also forgot some curly braces at the end - not sure if that was just a copy-paste error, but they need to be present…

I’d also make the boxes wider.

This only effects me in Chinese with longer definitions, but bump for more attention.