File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -77,11 +77,11 @@ qx.Class.define("osparc.dashboard.NewPlusMenu", {
7777 } ,
7878
7979 createHeader : function ( icon , label , infoText ) {
80- const headerLabel = `--- ${ label } ---` ;
81- return this . createMenuButton ( icon , headerLabel , infoText ) . set ( {
80+ return this . createMenuButton ( icon , label , infoText ) . set ( {
8281 anonymous : true ,
8382 cursor : "default" ,
84- font : "text-16" ,
83+ font : "text-14" ,
84+ textColor : "text-darker" ,
8585 } ) ;
8686 } ,
8787 } ,
@@ -149,6 +149,10 @@ qx.Class.define("osparc.dashboard.NewPlusMenu", {
149149 categories . forEach ( category => {
150150 const categoryHeader = this . self ( ) . createHeader ( null , category [ "title" ] , category [ "description" ] ) ;
151151 categoryHeader [ "categoryId" ] = category [ "id" ] ;
152+ if ( this . __categoryHeaders . length ) {
153+ // add spacing between categories
154+ categoryHeader . setMarginTop ( 10 ) ;
155+ }
152156 this . __categoryHeaders . push ( categoryHeader ) ;
153157 this . add ( categoryHeader ) ;
154158 } ) ;
You can’t perform that action at this time.
0 commit comments