Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add title attribute to linkflair span

The default stylesheet sets a low max-width on the linkflair span,
so long flair is often cut off on the front page. This will allow
mousing over the flair to see the full text.
  • Loading branch information...
commit ebb1e2d568bf891cec2429e1f1b619e285fe8413 1 parent 8730de1
@Deimos Deimos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  r2/r2/templates/link.html
View
2  r2/r2/templates/link.html
@@ -78,7 +78,7 @@
<%def name="flair()">
%if c.user.pref_show_link_flair and thing.flair_text:
- <span class="linkflairlabel">${thing.flair_text}</span>
+ <span class="linkflairlabel" title="${thing.flair_text}">${thing.flair_text}</span>
%endif
</%def>
Please sign in to comment.
Something went wrong with that request. Please try again.