Hi Community.
Today I found that if I in my custom .css-file assign the property text-align: right; to, for example a text element, it won't work.
Under no circumstance can I through my custom .css-file make this text element align to anything but left (which is default).
However if I assign the exact same code in the css-style of the same element, it works.
Now this is something I was able to recreate on two different servers in both Internet Explorer aswell as Google Chrome.
I know that this has worked Before as I have it in alot of my old dashboards.
Can anyone else recreate this behaviour? Here are the steps:
- Create two text elements
- Assign code text-align: right; to text element 1 using css-style found under Property-Display-CSS Style
- Create a custom .css and assign it to the dashboard
- In the custom .css file, create a css-class named .textalign and assign the code text-align: right; to it.
- Save the custom .css file.
- assign the css-class textalign to text element 2.
- Save the dashboard, run it and observe where the two different text-elements are placed.
I'm on Design Studio v 16.0.5.