trema-tech / moodle-theme_trema

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

Logo/Name of site does not appear when viewing Site Administration on some mobile devices (SOLUTION INCLUDED) #146

Closed michael-milette closed 4 months ago

michael-milette commented 1 year ago

When viewing the home page on a smaller screen such as a smart phone (or just a narrow browser window, the logo or site name appears in the page header.

image

However, in Site Administration, the logo or site name do not show up.

image

I expected the logo / site name to appear equally on all pages.

Using:

Let me know if you have any questions or have trouble reproducing the issue.

Best regards,

Michael Milette

michael-milette commented 1 year ago

FYI: The following solved the issue for me:

.d-md-flex {
    display: flex!important;
}

@media (max-width: 570px) {
    .navbar.fixed-top .navbar-brand .logo {
        max-width: 100%;
   }
}

Please integrated a fix like this into Trema core.

Let me know if you have any questions or concerns.

Best regards,

Michael

michael-milette commented 4 months ago

This will be fixed in the next major release of Trema. In the meantime, please feel free to try the experimental "dev" branch.

Best regards,

Michael