File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
services/static-webserver/client/source/class/osparc/wrapper Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ qx.Class.define("osparc.wrapper.BookACallIframe", {
4444 // Call parent constructor
4545 this . base ( arguments , url ) ;
4646
47+ this . setAppearance ( "iframe-no-border" ) ;
48+
49+ // not only once, every time there is a load (e.g. when navigating in the iframe)
4750 this . addListener ( "load" , ( ) => this . __updateStyles ( ) , this ) ;
4851 } ,
4952
@@ -57,9 +60,8 @@ qx.Class.define("osparc.wrapper.BookACallIframe", {
5760 const iframe = this . getContentElement ( ) . getDomElement ( ) ;
5861 const theme = {
5962 '--bs-body-bg' : colorManager . resolve ( "background-main-1" ) ,
60- '--osparc-primary' : '"red"' ,
61- '--osparc-secondary' : '"green"' ,
62- '--osparc-text' : '"black"'
63+ '--osparc-text-color' : colorManager . resolve ( "text" ) ,
64+ '--osparc-primary' : colorManager . resolve ( "product-color" ) ,
6365 } ;
6466 iframe . contentWindow . postMessage ( {
6567 type : 'osparc-theme' ,
You can’t perform that action at this time.
0 commit comments