Skip to content

Plugin tab titles with spaces do not break correctly #318

Closed

Description

@marbru

Describe the bug

When you add too many sections/tabs to a cms plugin fieldset, they take more space than the size of the modal, and they break along the spaces, larger than their border boxes, and it looks bad.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any cms_plugin.py file (may be custom or buil-in. I triggered it with a change in the built-in image plugin )
  2. Add one or more fieldsets, preferably with long names. Add some with spaces.
  3. Start the server, and create a new instance of the plugin you just modded (or edit an existing one) .
  4. The edit modal will come up, and If you made the tab list long enough, you'll see the bug.

Expected behavior

I would expect the tab titles not to break into two lines, but be forced into a single one. If they grow larger than the size of the modal, then either the size of the modal should grow, or display a horizontal scrollbar, or the tabs should spread into two rows.

Screenshots

Image

Desktop (please complete the following information):

  • OS: ubuntu
  • Browser: chromium
  • Version: 140.0.7339.127

Additional context
Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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