From ba292710538acb838a58dd59cd1a765c9b646982 Mon Sep 17 00:00:00 2001 From: Simon Howe Date: Thu, 29 Jun 2017 15:28:00 +0200 Subject: [PATCH 1/2] Prevents 6 digit pids from being truncated in details panel/table mode --- client/app/scripts/constants/styles.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/app/scripts/constants/styles.js b/client/app/scripts/constants/styles.js index 4b189ab7f..ecf9df06e 100644 --- a/client/app/scripts/constants/styles.js +++ b/client/app/scripts/constants/styles.js @@ -46,7 +46,8 @@ export const CANVAS_MARGINS = { // Node details table constants export const NODE_DETAILS_TABLE_CW = { XS: '32px', - S: '50px', + // 6 chars wide with our current font choices, (pids can be 6, ports only 5). + S: '54px', M: '70px', L: '85px', XL: '120px', From 6310b4893730e3616c5ad7951ccbbc2e4b799dfa Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 5 Jul 2017 14:27:34 +0200 Subject: [PATCH 2/2] Switch to 56px small cols to fit in 6 digit pids --- client/app/scripts/constants/styles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/scripts/constants/styles.js b/client/app/scripts/constants/styles.js index ecf9df06e..d04c23102 100644 --- a/client/app/scripts/constants/styles.js +++ b/client/app/scripts/constants/styles.js @@ -47,7 +47,7 @@ export const CANVAS_MARGINS = { export const NODE_DETAILS_TABLE_CW = { XS: '32px', // 6 chars wide with our current font choices, (pids can be 6, ports only 5). - S: '54px', + S: '56px', M: '70px', L: '85px', XL: '120px',