Is the text always centered in a glossary?

Is the text always centered in a glossary?

από chris engelsma -
Αριθμός απαντήσεων: 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?
Μέσος όρος βαθμολογίας: -
Σε απάντηση σε chris engelsma

Re: Is the text always centered in a glossary?

από Joseph Rézeau -
Φωτογραφία Core developers Φωτογραφία Particularly helpful Moodlers Φωτογραφία Plugin developers Φωτογραφία Testers Φωτογραφία 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.κλείσιμο ματιού

Σε απάντηση σε chris engelsma

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.