Hi,
When turning on dark mode. If number of records exceeds max records the text that shows record n out of n records and page num stays black
Hi,
When turning on dark mode. If number of records exceeds max records the text that shows record n out of n records and page num stays black
I cannot reproduce the issue. The text is displayed properly in dark mode, either for LTR and RTL layout.
LTR:
RTL:
this is my fix.
attach js file to project in Tools->scripts and stylesheets and add the following script
loadjs.ready("load", function () {
console.log('babelfish.js');
$('.dropdown-item[data-bs-theme-value]').on('click', function () {
const selectedTheme = $(this).data('bs-theme-value'); // 'light' or 'dark'
// Update <html> data-bs-theme
$('html').attr('data-bs-theme', selectedTheme);
// Update footer class
const $footer = $('.card-footer.ew-grid-lower-panel');
if (selectedTheme === 'dark') {
$footer.removeClass('text-dark').addClass('text-light');
} else {
$footer.removeClass('text-light').addClass('text-dark');
}
// Update active state in the dropdown
$('.dropdown-item[data-bs-theme-value]').removeClass('active').attr('aria-pressed', 'false');
$(this).addClass('active').attr('aria-pressed', 'true');
});
});