 
 
   build: ->
-    width = '100%'
-    height = @element.height()
+    if @element.css('display') == 'block'
+      width = '100%'
+      height = @element.height()
+    else
+      width = @element.width()
+      height = @element.height() # 'auto'
 
     value = @element.text()
     @element.removeClass(Mercury.config.regions.className)

      fontWeight: 'inherit'
      fontStyle: 'inherit'
      color: 'inherit'
    @element.addClass(Mercury.config.regions.className)
    @element.empty().append(@textarea)


    @textarea.css
      border: 0
      background: 'transparent'
      'overflow-y': 'hidden'
      width: width
      height: height
