diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/media/markdown.css b/src/sql/workbench/contrib/notebook/browser/cellViews/media/markdown.css index f908729309..c3f6219d56 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/media/markdown.css +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/media/markdown.css @@ -5,8 +5,6 @@ .notebook-preview { font-size: 14px; - line-height: 22px; - min-height: 22px; word-wrap: break-word; } diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.css b/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.css index fe2174d2ea..a61f28df51 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.css +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.css @@ -9,6 +9,7 @@ text-cell-component { text-cell-component .notebook-text { display: flex; outline: none; + min-height: 50px; } text-cell-component code-component { flex-direction: column; @@ -20,6 +21,11 @@ text-cell-component .notebook-preview { user-select: none; width: 100%; outline: none; + padding-top: 14px; +} +text-cell-component .notebook-preview > *:first-child { + margin-top: 0; + padding-top: 0; } text-cell-component .show-markdown.show-preview code-component { width: 50%