Opened 8 years ago
Closed 8 years ago
#37555 closed defect (bug) (duplicate)
A post with a long title goes out of bounds
Reported by: | vimukthiperera | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.5.3 |
Component: | Administration | Keywords: | has-patch |
Focuses: | ui | Cc: |
Description
When creating a post with a very long title, the activity in the dashboard goes out of order.
Attachments (2)
Change History (8)
#3
@
8 years ago
I don't think your solution is fitting perfectly, while being elegant. After all it's just using word-wrap: break-word;
to solve this issue. But the class name is not really at place. And in the meantime we have a nice little collection of things going out of bounds:
A post with a long title goes out of bounds
#37555
Username text overflows in error message box on login screen.
#37617
long page title issue in drop down list setting>reading page
#37582
text overflows, if it has no hyphens on media upload page.
#37581
...?
Until now WordPress uses only a few instances of word-wrap: break-word;
and text-overflow: ellipsis;
My conclusion is to add a new class or two, combining these cases system-wide.
There also seems to be a nice javascript-code helping us, if we wanted that.
http://dotdotdot.frebsite.nl/
I leave the housekeeping to the inner circle of coders now… :)
#4
@
8 years ago
@Presskopp - I understand your reasoning for challenging this, and would also wonder if a new common CSS rule should be introduced - but I was trying to avoid doing this as there is a rule that's perfectly acceptable already in the admin CSS.
-1 for Javascript to achieve this, although an interesting idea I feel that it's overkill personally.
Fixes bug with long titles in recent activity. Rathe than create a new CSS rules, I think I've used the most logical existing WP admin CSS class.