NE340R
KPCKevin Powell - Community
•Created by NE340R on 8/15/2023 in #front-end
Overflow-x messes up Overflow-y
I have a chart block with lots of price bars inside of it. Each price bar contains a tooltip component that appears on hover.
I need to restrict
overflow-x
so that price bars do not overflow the chart box but i want to keep overflow-y
so that overflowing tooltips are still visible.
Here is demo:
https://codepen.io/NEOdinok/pen/poQMBBx?editors=1100
If i add overflow-x: hidden
into .chart-block__main
then tooltip gets hidden as well. overflow-x: hidden; overflow-y: visible
also does not work8 replies