@jupyterlab/nbconvert-css 4.0.0-alpha.3 → 4.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/style/index.css +23 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/nbconvert-css",
3
- "version": "4.0.0-alpha.3",
3
+ "version": "4.0.0-alpha.4",
4
4
  "description": "CSS bundle for the JupyterLab nbconvert template",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -31,13 +31,13 @@
31
31
  "watch": "webpack --watch"
32
32
  },
33
33
  "dependencies": {
34
- "@jupyterlab/application": "^4.0.0-alpha.3",
35
- "@jupyterlab/apputils": "^4.0.0-alpha.3",
36
- "@jupyterlab/cells": "^4.0.0-alpha.3",
37
- "@jupyterlab/codemirror": "^4.0.0-alpha.3",
38
- "@jupyterlab/notebook": "^4.0.0-alpha.3",
39
- "@jupyterlab/outputarea": "^4.0.0-alpha.3",
40
- "@jupyterlab/rendermime": "^4.0.0-alpha.3"
34
+ "@jupyterlab/application": "^4.0.0-alpha.4",
35
+ "@jupyterlab/apputils": "^4.0.0-alpha.4",
36
+ "@jupyterlab/cells": "^4.0.0-alpha.4",
37
+ "@jupyterlab/codemirror": "^4.0.0-alpha.4",
38
+ "@jupyterlab/notebook": "^4.0.0-alpha.4",
39
+ "@jupyterlab/outputarea": "^4.0.0-alpha.4",
40
+ "@jupyterlab/rendermime": "^4.0.0-alpha.4"
41
41
  },
42
42
  "devDependencies": {
43
43
  "css-loader": "^5.0.1",
package/style/index.css CHANGED
@@ -4970,6 +4970,7 @@ h6:hover .jp-InternalAnchorLink {
4970
4970
 
4971
4971
  .jp-OutputArea-child {
4972
4972
  display: table;
4973
+ table-layout: fixed;
4973
4974
  width: 100%;
4974
4975
  overflow: hidden;
4975
4976
  }
@@ -4977,7 +4978,7 @@ h6:hover .jp-InternalAnchorLink {
4977
4978
  .jp-OutputPrompt {
4978
4979
  display: table-cell;
4979
4980
  vertical-align: top;
4980
- min-width: var(--jp-cell-prompt-width);
4981
+ width: var(--jp-cell-prompt-width);
4981
4982
  color: var(--jp-cell-outprompt-font-color);
4982
4983
  font-family: var(--jp-cell-prompt-font-family);
4983
4984
  padding: var(--jp-code-padding);
@@ -5261,12 +5262,13 @@ Note: input and output wrappers have "display: block" propery in print mode.
5261
5262
  /* All input areas */
5262
5263
  .jp-InputArea {
5263
5264
  display: table;
5265
+ table-layout: fixed;
5266
+ width: 100%;
5264
5267
  overflow: hidden;
5265
5268
  }
5266
5269
 
5267
5270
  .jp-InputArea-editor {
5268
5271
  display: table-cell;
5269
- width: 100%;
5270
5272
  overflow: hidden;
5271
5273
  vertical-align: top;
5272
5274
  }
@@ -5281,7 +5283,7 @@ Note: input and output wrappers have "display: block" propery in print mode.
5281
5283
  .jp-InputPrompt {
5282
5284
  display: table-cell;
5283
5285
  vertical-align: top;
5284
- min-width: var(--jp-cell-prompt-width);
5286
+ width: var(--jp-cell-prompt-width);
5285
5287
  color: var(--jp-cell-inprompt-font-color);
5286
5288
  font-family: var(--jp-cell-prompt-font-family);
5287
5289
  padding: var(--jp-code-padding);
@@ -5431,13 +5433,29 @@ Note: input and output wrappers have "display: block" propery in print mode.
5431
5433
  .jp-CodeCell.jp-mod-outputsScrolled .jp-Cell-outputArea {
5432
5434
  overflow-y: auto;
5433
5435
  max-height: 24em;
5434
- box-shadow: inset 0 0 6px 2px rgba(0, 0, 0, 0.3);
5435
5436
  margin-left: var(--jp-private-cell-scrolling-output-offset);
5437
+ }
5438
+
5439
+ .jp-CodeCell.jp-mod-outputsScrolled .jp-Cell-outputArea::after {
5440
+ content: ' ';
5441
+ box-shadow: inset 0 0 6px 2px rgb(0 0 0 / 30%);
5442
+ width: 100%;
5443
+ height: 100%;
5444
+ position: sticky;
5445
+ bottom: 0;
5446
+ top: 0;
5447
+ margin-top: -50%;
5448
+ float: left;
5449
+ display: block;
5450
+ pointer-events: none;
5451
+ }
5452
+
5453
+ .jp-CodeCell.jp-mod-outputsScrolled .jp-OutputArea-child {
5436
5454
  padding-top: 6px;
5437
5455
  }
5438
5456
 
5439
5457
  .jp-CodeCell.jp-mod-outputsScrolled .jp-OutputArea-prompt {
5440
- min-width: calc(
5458
+ width: calc(
5441
5459
  var(--jp-cell-prompt-width) - var(--jp-private-cell-scrolling-output-offset)
5442
5460
  );
5443
5461
  }