Class changin to "dynamic"

I have created a CSS to format text in a positioned box and have set the class of the positioned box to match. The main things that I want to set are white-space to pre and line-height to 90%. I then select the text and set the font, size, etc., however when I go to preview and select the positioned box the class is changed to either dynamic or “myClass dynamic” and I lose the line spacing.

Any ideas why this is happening (PReS 2018.2.1)?

I tried but to reproduce your problem but couldn’t. I suggest you open a technical support call through our website, so one of our technician can look at your Template.

I think I have resolved this. I have applied the Class to the positioned box rather than the text selection and this seems to work.

Thank you.