Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can I define css in root #37

Open
themoneyevo opened this issue Sep 29, 2024 · 0 comments
Open

how can I define css in root #37

themoneyevo opened this issue Sep 29, 2024 · 0 comments

Comments

@themoneyevo
Copy link

themoneyevo commented Sep 29, 2024

I want to change css in root

custom_css="""
    #.fc-event-past {
    #    opacity: 0.8;
    #}
    .fc-event-time {
        font-style: italic;
    }
    .fc-event-title {
        font-weight: 700;
        #color: #FFD700;
        color: #FFFFFF;
    }
    .fc-toolbar-title {
        font-size: 2rem;
    }
    .root {
        --fc-page-bg-color: #380304;
    }
"""

I tried root :root, they are not work. And, get error:

site-packages\streamlit\web\server\component_request_handler.py", line 56, in get
    with open(abspath, "rb") as file:
FileNotFoundError: [Errno 2]  site-packages\\streamlit_calendar\\frontend\\build\\bootstrap.min.css.map'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant