Skip to content

breaking changes with Group, elem_classes and cssΒ #12951

@lhoestq

Description

@lhoestq

Describe the bug

I updated https://huggingface.co/spaces/infinite-dataset-hub/infinite-dataset-hub from 4.X.X to 6.8.0 and elem_classes doesn't work for gr.Group() anymore. I also had to pass !IMPORTANT to every single css attributes in my buttons (which also rely on elem_classes for css)

finally for some reason some CSS stopped working altogether like animations

Have you searched existing issues? πŸ”Ž

  • I have searched and found no existing issues

Reproduction

import gradio as gr

Screenshot

No response

Logs

System Info

hf spaces

Severity

I can work around it

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions