From c6b88acaeffddd0212b1266b909557d2257e3c36 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Mon, 25 May 2015 15:51:23 -0700 Subject: [PATCH] UI tweaks --- src/browser.js | 2 +- src/utils/DockerUtil.js | 2 +- styles/left-panel.less | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/browser.js b/src/browser.js index 1d1b79d00e..b2a10b38d5 100644 --- a/src/browser.js +++ b/src/browser.js @@ -27,7 +27,7 @@ app.on('open-url', function (event, url) { app.on('ready', function () { var mainWindow = new BrowserWindow({ width: size.width || 1000, - height: size.height || 600, + height: size.height || 780, 'min-width': 1000, 'min-height': 600, 'standard-window': false, diff --git a/src/utils/DockerUtil.js b/src/utils/DockerUtil.js index 103cedee73..f93a32d38f 100644 --- a/src/utils/DockerUtil.js +++ b/src/utils/DockerUtil.js @@ -390,7 +390,7 @@ export default { // Assign to a column if not done yet if (!layerProgress[data.id].column) { // test if we can still add layers to that column - if (columns.progress[columns.toFill].nbLayers === columns.progress[columns.toFill].maxLayers) { + if (columns.progress[columns.toFill].nbLayers === columns.progress[columns.toFill].maxLayers && columns.toFill < columns.amount - 1) { columns.toFill++; } diff --git a/styles/left-panel.less b/styles/left-panel.less index cd0f3b17ab..160bce82d1 100644 --- a/styles/left-panel.less +++ b/styles/left-panel.less @@ -245,7 +245,7 @@ .sidebar-buttons { border-top: 1px solid #F0F4F8; - min-height: 36px; + min-height: 48px; flex: 0 auto; display: flex; flex-direction: row; @@ -258,7 +258,7 @@ height: 18px; } .btn-sidebar { - font-size: 11px; + font-size: 13px; font-weight: 500; color: @brand-primary; @@ -266,7 +266,7 @@ display: flex; align-items: center; justify-content: center; - min-width: 44px; + min-width: 48px; &:active { img, .text {