Is the text always centered in a glossary?

Is the text always centered in a glossary?

wót chris engelsma -
Anzahl Antworten: 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?
Als Antwort auf chris engelsma

Re: Is the text always centered in a glossary?

wót Joseph Rézeau -
Nutzerbild von Core developers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Plugin developers Nutzerbild von Testers Nutzerbild von Translators

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.zwinkernd

Als Antwort auf chris engelsma

Re: Is the text always centered in a glossary?

wót 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.