APrioriInvestments / object_database

A distributed object model written on top of typed_python, with a reactive web framework.
Apache License 2.0
5 stars 1 forks source link

"code" cell css not overflowing correctly #110

Open braxtonmckee opened 4 years ago

braxtonmckee commented 4 years ago

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",
        )
darth-cheney commented 4 years ago

@braxtonmckee See PR #111