Open geoffbullen opened 3 years ago
@geoffbullen
Set style global.
and also use container option.
<div class="viewport" #viewport>
<ngx-moveable
#moveable
[container]="viewport" />
....
Thanks very much @daybrush
can you post the code after edited
Environments
Angular
Description
I am trying to set the style of the moveable line, but setting the style to important doesn't seem to have an effect on this particular attribute
.moveable-line { background: red !important; }
Also when I scroll the infinite viewer, the position of the control box doesn't change along with its target.
Demo of problem
Here is a codesandbox https://codesandbox.io/s/laughing-nash-l3t5o