From 22e1091cab2719df4585e4af50274370cd392100 Mon Sep 17 00:00:00 2001 From: Jan Bicker Date: Thu, 5 Sep 2019 13:32:10 +0000 Subject: [PATCH] Minor adjustments in scm and siw css. Signed-off-by: Jan Bicker --- packages/scm/src/browser/style/index.css | 6 +++--- packages/search-in-workspace/src/browser/styles/index.css | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/scm/src/browser/style/index.css b/packages/scm/src/browser/style/index.css index 5cbe928a02d73..c575db8149b4f 100644 --- a/packages/scm/src/browser/style/index.css +++ b/packages/scm/src/browser/style/index.css @@ -100,7 +100,8 @@ box-sizing: border-box; height: 26px; min-height: 26px; - padding: 4px 4px 4px 4px; + padding: 4px; + border: none; } .theia-scm-input-message-container textarea:placeholder-shown { @@ -110,8 +111,7 @@ } .theia-scm-input-message-container textarea:not(:focus) { - border-style: solid; - border-width: 1px; + border: none; } .theia-scm-input-message { diff --git a/packages/search-in-workspace/src/browser/styles/index.css b/packages/search-in-workspace/src/browser/styles/index.css index a64a3c3cbdcbb..ad35a80902858 100644 --- a/packages/search-in-workspace/src/browser/styles/index.css +++ b/packages/search-in-workspace/src/browser/styles/index.css @@ -39,6 +39,7 @@ font-size: var(--theia-ui-font-size1); padding-left: 8px; color: var(--theia-ui-font-color1); + padding: 3px 0 3px 4px; } .t-siw-search-container input[type="text"]:focus { @@ -78,13 +79,15 @@ .t-siw-search-container .searchHeader .search-field-container { background: var(--theia-layout-color2); + border-style: solid; + border-width: var(--theia-border-width); + border-color: var(--theia-border-color1); } .t-siw-search-container .searchHeader .search-field-container.focused { border-style: solid; border-width: var(--theia-border-width); border-color: var(--theia-accent-color3); - margin: -1px; } .t-siw-search-container .searchHeader .search-field { @@ -332,7 +335,7 @@ width: 15px; min-width: 15px; justify-content: center; - margin-right: 2px; + margin-right: 1px; box-sizing: border-box; }