Skip to content

Commit b3b66f2

Browse files
committed
widgets: position relative, e.g., so toolbar in correct position for matplotlib
1 parent 2eada56 commit b3b66f2

File tree

3 files changed

+25
-17
lines changed

3 files changed

+25
-17
lines changed

src/packages/frontend/jupyter/_jupyter.sass

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,10 @@
104104
.cocalc-jupyter-menu
105105
.ant-dropdown-trigger:hover
106106
background-color: white
107+
108+
// Make it so the widgets container has position relative,
109+
// which is assumed by some widgets, e.g.,
110+
// %matplotlib widgets
111+
// from pylab import plot; plot([1,2],[3,4])
112+
cocalc-lumino-adapter
113+
position: relative

src/packages/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@cocalc/local-storage-lru": "^2.4.3",
4646
"@cocalc/sync": "workspace:*",
4747
"@cocalc/util": "workspace:*",
48-
"@cocalc/widgets": "^1.1.2",
48+
"@cocalc/widgets": "^1.1.3",
4949
"@cocalc/xpra-lz4": "^1.1.0",
5050
"@dnd-kit/core": "^6.0.7",
5151
"@dnd-kit/modifiers": "^6.0.1",

src/packages/pnpm-lock.yaml

Lines changed: 17 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)