Summary: | Use CSS3 ellipsis instead of FacetLabelTruncationLength | ||
---|---|---|---|
Product: | Koha | Reporter: | paxed <pasi.kallinen> |
Component: | Templates | Assignee: | Fridolin Somers <fridolin.somers> |
Status: | CLOSED WONTFIX | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | fridolin.somers |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13302 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: | Bug 13212 - Use CSS3 ellipsis instead of FacetLabelTruncationLength - intranet |
Description
paxed
2014-11-06 08:08:08 UTC
Created attachment 37428 [details] [review] Bug 13212 - Use CSS3 ellipsis instead of FacetLabelTruncationLength - intranet CSS3 has text-overflow: ellipsis - should use that instead of FacetLabelTruncationLength. This patch provides a POC for intranet. It adds ellipsis on all facet types except the availability one. Try to play with facets block size to see ellipsis is correct. See that facet count is hidden when ellipsis is used. An easy way to correct would be to set facet count first. This a POC to test on intranet facets. This works, but I don't think it's the right place to use this CSS3 feature. I think it's important for libraries to be able to choose to display the full facet using FacetLabelTruncationLength if they want to, without resorting to custom CSS rules. (In reply to Owen Leonard from comment #3) > This works, but I don't think it's the right place to use this CSS3 feature. > I think it's important for libraries to be able to choose to display the > full facet using FacetLabelTruncationLength if they want to, without > resorting to custom CSS rules. Agreed, marking WONTFIX for now. |