From 5f73daec57aabf74458bd2f67635020870513104 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Mon, 9 Jan 2017 11:39:09 -0800 Subject: [PATCH] Force terminal viewport alignment to top and bottom of panel Fixes #16532 --- .../parts/terminal/electron-browser/media/terminal.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/parts/terminal/electron-browser/media/terminal.css b/src/vs/workbench/parts/terminal/electron-browser/media/terminal.css index b39508ffe25..2fa59769fa7 100644 --- a/src/vs/workbench/parts/terminal/electron-browser/media/terminal.css +++ b/src/vs/workbench/parts/terminal/electron-browser/media/terminal.css @@ -40,6 +40,8 @@ .monaco-workbench .panel.integrated-terminal .xterm-viewport { /* Subtract right margin so that the scroll bar aligns with size of panel */ margin-right: -20px; + /* Force 100% height so that the scroll bar is aligned to the top and the bottom of the panel, the terminal rows may not be top aligned */ + height: 100% !important; } /* Terminal actions */