You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a lot of places in the code where variable styling of elements (especially in the EPUB navigators) is done using assignment to style attributes with string interpolation, e.g. translate3d(${this.offset}px, 0, 0). It is better for long-term understanding and maintenance of the code if this is done with CSS variables instead where possible.
The text was updated successfully, but these errors were encountered:
There's a lot of places in the code where variable styling of elements (especially in the EPUB navigators) is done using assignment to style attributes with string interpolation, e.g.
translate3d(${this.offset}px, 0, 0)
. It is better for long-term understanding and maintenance of the code if this is done with CSS variables instead where possible.The text was updated successfully, but these errors were encountered: