Skip to content

Commit

Permalink
Теперь каждый тэг в одну строку
Browse files Browse the repository at this point in the history
  • Loading branch information
kohver committed Jul 26, 2012
1 parent f7fa818 commit 7b982e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/js/jquery.textext.js
Expand Up @@ -2007,6 +2007,11 @@

self._paddingBox = pos;

if (lastTag.css('float') == 'none') {
pos.left = false;
pos.top += lastTag.outerHeight();
}

self.input().css({
paddingLeft : pos.left,
paddingTop : pos.top
Expand Down

0 comments on commit 7b982e1

Please sign in to comment.