Still converting to bootstrap 5. Minor style fix

This commit is contained in:
emeric
2022-05-09 21:03:19 +02:00
parent 13b6437cea
commit 9119193341
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
${cover class="shadow-sm"} ${cover class="shadow-sm"}
${release-name class="text-truncate text-nowrap text-decoration-none link-success"} ${release-name class="text-truncate text-nowrap text-decoration-none link-success"}
${<if-has-artist>}${artist-name class=" text-truncate text-nowrap text-decoration-none link-secondary"}${</if-has-artist>} ${<if-has-artist>}${artist-name class=" text-truncate text-nowrap text-decoration-none link-secondary"}${</if-has-artist>}
${<if-has-various-artists>}<div class="text-truncate text-nowrap text-success">${tr:Lms.Explore.various-artists}</div>${</if-has-various-artists>} ${<if-has-various-artists>}<div class="text-truncate text-nowrap text-secondary">${tr:Lms.Explore.various-artists}</div>${</if-has-various-artists>}
${<if-has-year>}<div class="small text-muted">${year}</div>${</if-has-year>} ${<if-has-year>}<div class="small text-muted">${year}</div>${</if-has-year>}
</div> </div>
</message> </message>
+1 -2
View File
@@ -396,8 +396,7 @@ handlePathChange(Wt::WStackedWidget& stack, bool isAdmin)
LMS_LOG(UI, DEBUG) << "Internal path changed to '" << wApp->internalPath() << "'"; LMS_LOG(UI, DEBUG) << "Internal path changed to '" << wApp->internalPath() << "'";
LmsApp->doJavaScript(R"($('.navbar-nav li.active').removeClass('active'); $('.navbar-nav a[href="' + location.pathname + '"]').closest('li').addClass('active');)"); LmsApp->doJavaScript(R"($('.navbar-nav a.active').removeClass('active'); $('.navbar-nav a[href="' + location.pathname + '"]').closest('a').addClass('active');)");
for (const auto& view : views) for (const auto& view : views)
{ {
if (wApp->internalPathMatches(view.path)) if (wApp->internalPathMatches(view.path))