These are chat archives for japgolly/scalacss

23rd
Jul 2017
Ben Riordan
@btskyy
Jul 23 2017 15:24
I am using scalacss with scalatags via play. Documentation advocates an inline style tag via MyStyles.render[TypedTag[String]]. Has anyone run into Subresource Integrity (SRI) issues and if so, how did you most easily resolve?
I haven't had this problem before I'm thinking because css was constructed via the DOM but now in this case, I'm just rendering most things server-side.
Ben Riordan
@btskyy
Jul 23 2017 18:15
For now I just set app config to play.filters.headers.contentSecurityPolicy = "style-src 'self' 'unsafe-inline'", logged as task, will readdress soon. Workaround not solution.