Closed cmnstmntmn closed 7 years ago
Good suggestion. I will look into it in a couple of days.
An alternative approach is to use calc()
You can use this lib https://github.com/cssobj/cssobj instead of calc()
or vw
for better combatibility.
Or, instead of j2c
.
i figured to make it responssive by changing width values from
px
tovw
and few other style declarations, got modified this way.
the problem is with .content wraper's width that doesn't get updated (based on it's content)
anyway i managed to fix this, the following way:
i call
m.redraw()
in the view, at window resize eventis this ok, or there's a more elegant way to do it ?