On Apr 23, 2020, at 16:24, Jonas Hahnfeld <[email protected]> wrote:
>> I'd prefer file-names and thumbnails, unfolded by clicking.
>>
>> Is this behaviour adjustable?
>
> No, I'm merely linking the uploaded file (GitLab decides to display the
> image inline) and AFAICS there are no options to influence this
> behavior.
The HTML for an image link looks like this.
<a class="no-attachment-icon gfm"
href="/lilypond-issues/lilypond-trial/uploads/bf98e8def400ee15bf3e5ca0180ea544/new-instrument-name-x-offset.png"
target="_blank" rel="noopener noreferrer" data-link="true"><img
src="/lilypond-issues/lilypond-trial/uploads/bf98e8def400ee15bf3e5ca0180ea544/new-instrument-name-x-offset.png"
alt="new-instrument-name-x-offset.png" class="gfm js-lazy-loaded
qa-js-lazy-loaded"></a>
Notice alt="new-instrument-name-x-offset.png".
Can we add project-specific CSS rules? Maybe we could derive something
acceptable from this:
a.gfm.no-attachment-icon img::after {
content: attr(alt);
}
—
Dan