Skip to content

Commit 42f1e34

Browse files
SimeonCSimeonC
SimeonC
authored and
SimeonC
committedOct 23, 2014
fix(textAngularSetup): Fix wordcount and charcount display with large numbers.
1 parent 80fe188 commit 42f1e34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/textAngularSetup.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ angular.module('textAngularSetup', [])
644644
}
645645
});
646646
taRegisterTool('wordcount', {
647-
display: '<div id="toolbarWC" style="display:block; width:100px;">Words:{{wordcount}}</div>',
647+
display: '<div id="toolbarWC" style="display:block; min-width:100px;">Words:{{wordcount}}</div>',
648648
disabled: true,
649649
wordcount: 0,
650650
activeState: function(){ // this fires on keyup
@@ -664,7 +664,7 @@ angular.module('textAngularSetup', [])
664664
}
665665
});
666666
taRegisterTool('charcount', {
667-
display: '<div id="toolbarCC" style="display:block; width:120px;">Characters:{{charcount}}</div>',
667+
display: '<div id="toolbarCC" style="display:block; min-width:120px;">Characters:{{charcount}}</div>',
668668
disabled: true,
669669
charcount: 0,
670670
activeState: function(){ // this fires on keyup

0 commit comments

Comments
 (0)