Skip to content

"code" cell css not overflowing correctly #110

@braxtonmckee

Description

@braxtonmckee

These two pages don't work correctly:

class ResizePanelWithCodeObject(CellsTestPage):
    def text(self):
        return "Should see a resizable panel with a horizontal split. The contents should be scrollable code panes."

    def cell(self):
        return cells.ResizablePanel(
            cells.Code("\n".join([f"top panel line {line}" for line in range(100)])),
            cells.Code(
                "\n".join([" " * 30 + f"bottom panel line {line}" for line in range(100)])
            ),
            ratio=0.50,
            split="horizontal",
        )


class ResizePanelWithCodeObjectInPanels(CellsTestPage):
    def text(self):
        return "Should see a resizable panel with a horizontal split. The contents should be scrollable code panes."

    def cell(self):
        return cells.ResizablePanel(
            cells.Panel(
                cells.Code("\n".join([f"top panel line {line}" for line in range(100)]))
            ),
            cells.Panel(
                cells.Code(
                    "\n".join([" " * 30 + f"bottom panel line {line}" for line in range(100)])
                )
            ),
            ratio=0.50,
            split="horizontal",
        )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions