Buttons do not apply default text colour

Issue #595 resolved
Info 3bits created an issue

Buttons do not apply the default setting colour to the text when is the first child.

Need to add:

.btn:first-child {
    color: [[setting:buttontextcolor]] !important;
}

Comments (5)

  1. Nick Phillips

    Do you have an example of where the original bug was happening? The btn:first-child with an !important setting seems like the wrong solution, and is causing us problems elsewhere. I'm trying to work out what the problem was so I can see if there's a better fix, but at the moment I'm not seeing the problem at all.

  2. Info 3bits reporter

    Could you define 'elsewhere'?

    This is a change in moodle 3.2 and it is already fixed as indicated above.

  3. Log in to comment