Skip to content

Commit a7f5c35

Browse files
committed
minor
1 parent ae39f8b commit a7f5c35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/static-webserver/client/source/class/osparc/dashboard/ResourceContainerManager.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ qx.Class.define("osparc.dashboard.ResourceContainerManager", {
237237
tags
238238
});
239239
if (this.getMode() === "list") {
240-
const width = this.getBounds().width - 15;
240+
const bounds = this.getBounds() || this.getSizeHint();
241+
const width = bounds.width - 15;
241242
card.setWidth(width);
242243
}
243244
const menu = new qx.ui.menu.Menu().set({

0 commit comments

Comments
 (0)