Is the text always centered in a glossary?

Is the text always centered in a glossary?

chris engelsma -
Erantzun kopurua: 3
Making and linking glossary entries is easy enough. But is the text in the pop-up always going to be centered? Is there anyway to left justify it?
Puntuazioen batez bestekoa: -
chris engelsma(e)ri erantzunda

Re: Is the text always centered in a glossary?

Joseph Rézeau -
Core developers-ren irudia Particularly helpful Moodlers-ren irudia Plugin developers-ren irudia Testers-ren irudia Translators-ren irudia

I reported this problem 5 years ago in MDL-23535 point #1:

1.- There is no reason why the text of the definition should be displayed centered. It should normally be displayed left-aligned (or, I suppose, right-aligned for RTL languages).

For what it's worth you might like to add your vote.begi-keinua

chris engelsma(e)ri erantzunda

Re: Is the text always centered in a glossary?

Francis Kneebone -

Hi Murray, 

I had the same issue, and found shorter definitions look better centred anyway and longer definitions needed some alignment still.  Targeting the CSS for ALL glossary terms doesn't always work with every theme I've found but for each Glossary 'item' if you wrap your definition like this...

<div style="text-align: left";> Your Definition Here </div>


You can do it for the terms that really need it anyway.

This CSS will force it to align on pop-up.