From 5175668a8f8631121fbea64338820a394eaa40f5 Mon Sep 17 00:00:00 2001 From: sumitdaga Date: Wed, 10 Oct 2018 12:31:55 +0530 Subject: [PATCH 1/2] fixes #2150 --- src/components/TopBar/ProjectToolBar.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/TopBar/ProjectToolBar.scss b/src/components/TopBar/ProjectToolBar.scss index c4d2d6458..6d7d8af23 100644 --- a/src/components/TopBar/ProjectToolBar.scss +++ b/src/components/TopBar/ProjectToolBar.scss @@ -50,6 +50,7 @@ overflow: hidden; text-overflow: ellipsis; display: flex; + margin-right: 4 * $base-unit; a { display: flex; @@ -97,6 +98,10 @@ .bar-column.project-name { display: flex; align-items: center; + justify-content: center; + flex-grow: 1; + flex-shrink: 1; + overflow: hidden; span { @include tc-heading; @@ -105,7 +110,6 @@ text-overflow: ellipsis; overflow: hidden; white-space: nowrap; - max-width: 500px; } @media screen and (max-width: $screen-md - 1px) { From af6062093d68727f5f03b6fb99b1159fa6f1fe61 Mon Sep 17 00:00:00 2001 From: sumitdaga Date: Wed, 10 Oct 2018 12:53:53 +0530 Subject: [PATCH 2/2] fixes pending issue --- src/components/TopBar/ProjectToolBar.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/TopBar/ProjectToolBar.scss b/src/components/TopBar/ProjectToolBar.scss index 6d7d8af23..a0c386c19 100644 --- a/src/components/TopBar/ProjectToolBar.scss +++ b/src/components/TopBar/ProjectToolBar.scss @@ -25,12 +25,14 @@ .bar-column:first-child { display: flex; + flex-shrink: 0; // width: calc(100% - 560px); } .bar-column:last-child { // width: 560px; display: flex; + flex-shrink: 0; } .logo-wrapper {