You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/10/16 12:47:33 UTC

svn commit: r1398726 - in /incubator/bloodhound/trunk/bloodhound_theme/bhtheme: htdocs/bloodhound.css templates/bh_ticket.html

Author: gjm
Date: Tue Oct 16 10:47:33 2012
New Revision: 1398726

URL: http://svn.apache.org/viewvc?rev=1398726&view=rev
Log:
clip ticket title when scrollspy in view - towards #174 (from olemis)

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css?rev=1398726&r1=1398725&r2=1398726&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css Tue Oct 16 10:47:33 2012
@@ -269,6 +269,13 @@ h1, h2, h3, h4 {
   font-weight: bold;
   page-break-after: avoid;
 }
+
+.clip, .affix .clip-affix {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
 /* @end */
 
 /* @group Alternate download links */

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1398726&r1=1398725&r2=1398726&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html Tue Oct 16 10:47:33 2012
@@ -137,7 +137,7 @@
           <div id="overview" class="stickyStatus $colspan">
             <div class="whitebox"></div>
             <div class="properties">
-              <h2 class="summary searchable" py:choose="">
+              <h2 class="summary searchable clip-affix" py:choose="">
                 <py:when test="ticket.exists">$ticket.summary</py:when>
                 <py:otherwise>Create Ticket</py:otherwise>
               </h2>