view app/assets/javascripts/autosize-box-fix.js @ 289:1b302d092e98

Less padding magic.
author edogawaconan <me@myconan.net>
date Wed, 16 Oct 2013 05:22:01 +0900
parents e8a0e82213cd
children
line wrap: on
line source

(function($) {
  $.autosize_box_fix = function(elem) {
    elem.css('box-sizing', '');
    elem.css('-webkit-box-sizing', '');
    elem.css('-moz-box-sizing', '');
  };
}) (jQuery);