[openstreetmap/openstreetmap-website] Fix tooltip left/right placement and arrows in rtl (PR #4293)
Tom Hughes
notifications at github.com
Tue Oct 17 20:09:07 UTC 2023
This is what is actually needed:
```css
:root[dir=rtl] {
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow {
/* no-r2 */
right: unset !important;
left: 0px !important;
&::before {
/* no-r2 */
left: unset !important;
right: -1px !important;
}
}
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow {
/* no-r2 */
left: unset !important;
right: 0px !important;
&::before {
/* no-r2 */
right: unset !important;
left: -1px !important;
}
}
}
```
That reverses the changes that r2 is making to the bootstrap code.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4293#issuecomment-1767092719
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4293/c1767092719 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231017/3b792100/attachment.htm>
More information about the rails-dev
mailing list