https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040 --- Comment #6 from Karam Qubsi <karamqubsi@gmail.com> --- (In reply to Marcel de Rooy from comment #4)
Hi Karam,
Why do you add those:
+/*rtl:raw: +.dropdown-menu-end[data-bs-popper] { + left: auto; + right: 0; +} +*/
You say: In limited cases, we use /*rtl:raw: to target RTL-specific styles. Please explain. This is just comments, right?
Hi Marcel, sorry for being late, /*rtl:raw*/ looks like a normal CSS comment in LTR (default CSS), but when processed with gulp-rtlcss (used in gulpfile.js for Koha), example: https://github.com/Koha-Community/Koha/blob/main/gulpfile.js#L80 it is interpreted as an rtlcss control directive. That means for RTL builds it is not treated as a comment, but as actual CSS that should be kept as-is. See the documentation here: https://rtlcss.com/learn/usage-guide/control-directives/index.html Let me know if you have any other questions Thanks, and sorry again for the delay. Karam. -- You are receiving this mail because: You are watching all bug changes.