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

Styles breaking when Model description exceeds one line in the table #498

Closed
Froelund opened this issue Jan 23, 2018 · 1 comment
Closed
Assignees
Labels
issue: enhancement Issue suggesting an enhancement to an existing feature severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve

Comments

@Froelund
Copy link
Contributor

Node.js version: 8.9.4
npm version: 5.6.0
Strapi version: 3.0.0-alpha.8.3
Operating system: Mac OSX

A model containing a "long" description, will mess up the table(list of models) in Content Type Builder plugin.

Model example:

{
  "connection": "default",
  "collectionName": "product",
  "info": {
    "name": "product",
    "description": "Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test."
  },
  "attributes": {
    "name": {
      "type": "string"
    }
  }
}

image

@soupette soupette self-assigned this Jan 23, 2018
@lauriejim lauriejim added severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve issue: enhancement Issue suggesting an enhancement to an existing feature version: 3.x labels Jan 23, 2018
@Froelund
Copy link
Contributor Author

I've fiddled around with the styles, and adding display: initial to the li element fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: enhancement Issue suggesting an enhancement to an existing feature severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve
Projects
None yet
Development

No branches or pull requests

3 participants