[wp-trac] [WordPress Trac] #23798: Audio Shortcode: Fallback link gets cropped by fixed-height container.
WordPress Trac
noreply at wordpress.org
Sat Mar 16 23:26:47 UTC 2013
#23798: Audio Shortcode: Fallback link gets cropped by fixed-height container.
-----------------------------+--------------------------
Reporter: mfields | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Shortcodes
Version: | Severity: normal
Keywords: |
-----------------------------+--------------------------
The "Download File" fallback for the audio shortcode is hard to read in
all of my tests. Here are some screenshots:
* [http://download.mfields.org/screenshot/2013-03-16_1615.png Twenty Ten]
* [http://download.mfields.org/screenshot/2013-03-16_1614.png Twenty
Eleven]
* [http://download.mfields.org/screenshot/2013-03-16_1601.png Blog
Simple]
* [http://download.mfields.org/screenshot/2013-03-16_1612.png Adventure
Journal]
I tested with a WMA file. It appears that the {{{.me-cannotplay}}} element
is given a height greater than {{{.wp-audio-shortcode}}}. I've observed
this in Both Chrome and Firefox.
A possible solution is to display a simple text link in a paragraph that
would inherit style already provided by the theme. This would also ensure
that the text is always readable in cases where the user's fontsize is
bumped to a large value which would be cut-off by the hardcoded 30px
height of {{{.wp-audio-shortcode}}}.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23798>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list