Skip to content

Example of providing custom styles. #3

@SultanOrazbayev

Description

@SultanOrazbayev

Thank you for the great package!

I want to tweak the style a bit, but wasn't sure what's the right way to do this. I ended up doing it like this:

from panel_modal import Modal
modal = Modal(content)
modal.style = MY_STYLE

However, since I am making a small tweak (adding overflow:auto for scroll bar)I was wondering if there's a better way.

Metadata

Metadata

Assignees

No one assigned

    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