Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

Accordion, title link too long: max-width not on the link? With label or text.

Open ghost opened this issue 8 years ago • 5 comments

Asked here also, but not a React problem: https://github.com/Semantic-Org/Semantic-UI-React/issues/2439

Expected Result

Link just on the label, not all the title line (mouse icon at least).

In the above screen I can click where is yellow painted.

The problem is not only with label. Also with text only.

Actual Result

image

Version

0.77.2

Testcase

https://codesandbox.io/s/p5vl9wp06q

ghost avatar Jan 17 '18 01:01 ghost

i thinks thats the correct behavior. if you want to make the accordion title only as big, as its content - just give the .title this: display: inline-block

peterrobertz avatar Jan 17 '18 22:01 peterrobertz

If I use display: inline-block it show me list like this:

  • Title - Title - Title - Title - Title - Title - Title - Title

instead of:

  • Title
  • Title
  • Title
  • Title
  • Title
  • Title
  • Title

ghost avatar Jan 18 '18 14:01 ghost

Maybe I can use <br> before every title? But how? It is a best practice?

ghost avatar Jan 18 '18 14:01 ghost

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 18 '18 15:04 stale[bot]

Reopen, mr. @stale.

ghost avatar May 19 '18 15:05 ghost