From 71822cfabbfcbea7f5a455813e95e6deb6554895 Mon Sep 17 00:00:00 2001 From: simurai Date: Fri, 27 Jan 2017 09:30:06 +0900 Subject: [PATCH 1/2] Make panel resizable --- styles/git-panel.less | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/styles/git-panel.less b/styles/git-panel.less index d9f75e2d35..b4170eda7c 100644 --- a/styles/git-panel.less +++ b/styles/git-panel.less @@ -1,19 +1,18 @@ @import "variables"; .github-PanelEtchWrapper { - height: 100%; + flex: 1; + display: flex; } .github-Panel { flex: 1; display: flex; flex-direction: column; - height: 100%; min-width: 0; font-family: @font-family; font-size: @font-size; color: @text-color; - -webkit-user-select: none; cursor: default; From c04b591a0b4cbfb0752a32cee7a4b2491ad3bdfc Mon Sep 17 00:00:00 2001 From: simurai Date: Fri, 27 Jan 2017 09:48:50 +0900 Subject: [PATCH 2/2] Move ellipsis to the title Most notable when amending --- styles/git-panel.less | 1 + styles/staging-view.less | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/styles/git-panel.less b/styles/git-panel.less index b4170eda7c..fc41ecd5ea 100644 --- a/styles/git-panel.less +++ b/styles/git-panel.less @@ -3,6 +3,7 @@ .github-PanelEtchWrapper { flex: 1; display: flex; + min-width: 0; } .github-Panel { diff --git a/styles/staging-view.less b/styles/staging-view.less index 5ced62f069..1b90a2dfcf 100644 --- a/styles/staging-view.less +++ b/styles/staging-view.less @@ -16,9 +16,6 @@ align-items: center; padding: 0 0 0 @component-padding; font-weight: 600; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; border-top: 1px solid @panel-heading-border-color; border-bottom: 1px solid @panel-heading-border-color; @@ -61,6 +58,9 @@ flex: 1; margin-right: @component-padding; line-height: 2.5em; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } &-list {