Opened 14 years ago
Closed 12 years ago
#23003 closed defect (bug) (fixed)
Long filename breaks styling in media modal
| Reported by: | pavelevap | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | ui |
Description
Long filename in media modal breaks styling of right sidebar. Long filename is displayed bellow thumbnail and longer labels bellow are moved to separate line.
See attached picture.
Attachments (4)
Change History (13)
#2
@
14 years ago
- Resolution invalid
- Status closed → reopened
I do not think so. I probably described it a little messy. Yes, filename is bellow thumbnail (no problem), but why "Alt Text" field is bellow Alt Text label (localized) when it works well if filename is shorter?
#3
@
14 years ago
- Milestone → Awaiting Review
The image on the right has smaller width, probably due to a scroll bar not shown in the screenshot.
Wrapping the text in the left column would probably look better than shifting the inputs down.
#6
@
12 years ago
- Keywords has-patch added; needs-patch removed
Added word-wrap: break-word to
.media-sidebar .setting .name and specified a max-width for .setting[data-setting="alt"] .name
The min-width: 30%; is retained for .media-sidebar .setting .name, as a flexible width is needed for some elements.
#7
@
12 years ago
Actually, the span class .name is not present in .media-sidebar .setting when there's also an input[type="checkbox"] (as a sibling of the span), so the [data-setting="alt"] attribute can be removed, which will allow the word-wrap to affect all span.name classes within .media-sidebar .setting.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I believe this is all intentional.