Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Issue 5879 (Crop long CSS values in Computed side panel)

  • Loading branch information...
commit 8021d46b681949a7d6641d236ff6981ac39f7f3b 1 parent de6cbe6
Sebastian Zartner authored September 06, 2012
4  extension/content/firebug/css/computedPanel.js
@@ -142,6 +142,10 @@ CSSComputedPanel.prototype = Obj.extend(Firebug.Panel,
142 142
             else if (Options.get("colorDisplay") == "hsl")
143 143
                 value = Css.rgbToHSL(value);
144 144
 
  145
+            var limit = Options.get("stringCropLength");
  146
+            if (limit > 0)
  147
+                value = Str.cropString(value, limit);
  148
+
145 149
             // Add a zero-width space after a comma to allow line breaking
146 150
             return value.replace(/,/g, ",\u200B");
147 151
         }

0 notes on commit 8021d46

Please sign in to comment.
Something went wrong with that request. Please try again.