Skip to content

Commit 932360b

Browse files
andrii-iJasonWeillfcollonval
authored
Adds buffer, uses zoom cursors for cell output collapser (supersedes jupyterlab#14266) (jupyterlab#14344)
* Adds buffer for cell output collapser Uses cursors to indicate behavior Lint fix Uses left padding for output area Update Playwright Snapshots Update Playwright Snapshots CSS changes per @andrii-i Update Playwright Snapshots Update Playwright Snapshots Update Playwright Snapshots Increase specificity of selector Increase specificity of the selector Update Playwright Snapshots Update Playwright Snapshots Update Playwright Snapshots Update Playwright Snapshots Update Playwright Snapshots * Undo unwanted snapshot change --------- Co-authored-by: Jason Weill <[email protected]> Co-authored-by: Frédéric Collonval <[email protected]>
1 parent 9754574 commit 932360b

File tree

41 files changed

+10
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+10
-1
lines changed

packages/outputarea/src/widget.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const STDIN_PROMPT_CLASS = 'jp-Stdin-prompt';
7575
const STDIN_INPUT_CLASS = 'jp-Stdin-input';
7676

7777
/**
78-
* The overlay tha can be clicked to switch between output scrolling modes.
78+
* The overlay that can be clicked to switch between output scrolling modes.
7979
*/
8080
const OUTPUT_PROMPT_OVERLAY = 'jp-OutputArea-promptOverlay';
8181

packages/outputarea/style/base.css

+9
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
-ms-user-select: text;
6060
}
6161

62+
.jp-OutputArea .jp-RenderedText {
63+
padding-left: 1ch;
64+
}
65+
6266
/**
6367
* Prompt overlay.
6468
*/
@@ -74,6 +78,11 @@
7478
.jp-OutputArea-promptOverlay:hover {
7579
background: var(--jp-layout-color2);
7680
box-shadow: inset 0 0 1px var(--jp-inverse-layout-color0);
81+
cursor: zoom-out;
82+
}
83+
84+
.jp-mod-outputsScrolled .jp-OutputArea-promptOverlay:hover {
85+
cursor: zoom-in;
7786
}
7887

7988
/**

0 commit comments

Comments
 (0)