CSS customization framework
Hi Team, for customising/overriding CSS styles, the only way is to use jsdelivr url? https://developers.thoughtspot.com/docs/custom-css#_overview
We are using GitLab, it's not supported by jsdelivr
CSS customization framework
Customize UX elements and layout of embedded ThoughtSpot interface using custom CSS
4 Replies
@shikharTS @utsav.kapoor @Vivek ^
Hey @Nikhil Kumaran S - Gitlab will also work. Please ensure that URL is added in your CSP settings.
@utsav.kapoor This is our security config. This https://gitlab.com/nikhilkumaran/thoughtspot/-/raw/main/ts.css is the file we are using. This is our init function
The styles are not applied.
But if I give jsdelivr url(https://cdn.jsdelivr.net/gh/Nikhil-Kumaran/react-state-machine-example@master/ts11.css), it works. The styles are applied.
@Nikhil Kumaran S - Can you add https://gitlab.com/nikhilkumaran/thoughtspot in your CSP settings
Links: https://developers.thoughtspot.com/docs/Interface_EmbedConfig#_customcssurl and https://developers.thoughtspot.com/docs/Interface_EmbedConfig#_customcssurl
EmbedConfig
The configuration object for embedding ThoughtSpot content. It includes the ThoughtSpot hostname or IP address, the type of authentication, and the authentication endpoint if a trusted authentication server is used.