trema-tech / moodle-theme_trema

Theme trema, a Moodle LMS plugin.
https://moodle.org/plugins/theme_trema
GNU General Public License v3.0
39 stars 19 forks source link

Suggestion: Change OAuth2 buttons to be inline (SOLUTION INCLUDED) #148

Closed michael-milette closed 6 months ago

michael-milette commented 2 years ago

Currently the OAuth buttons look like this. Buttons below the screen are not obvious unless you scroll down on some devices/screen sizes: image

I would like to propose that these buttons be made inline blocks so that users need not scroll down the page as far to see all of the options: image

Best regards,

Michael

michael-milette commented 2 years ago

Hi @rmady

The proposed change in this ticket can be achieve by applying the following CSS:

body#page-login-index .potentialidp {
    display: inline-block;
}

Let me know if you have any questions or concerns.

Best regards,

Michael Milette

michael-milette commented 6 months ago

This enhancement will be included in the next major release of Trema. Note that this only affects the login page, not the login block as there is simply not enough space to put the buttons inline in the block.

Feel free to try it out in the "dev" branch in the meantime.

Best regards,

Michael Milette