Opened 12 years ago
Closed 10 years ago
#23003 closed defect (bug) (fixed)
Long filename breaks styling in media modal
Reported by: | pavelevap | Owned by: | johnbillion |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Media | Keywords: | has-patch |
Focuses: | ui | Cc: |
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)
#1
@
12 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
#2
@
12 years ago
- Resolution invalid deleted
- Status changed from closed to 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
@
12 years ago
- Milestone set to 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,
#6
@
11 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
@
11 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
.
I believe this is all intentional.