<%= "grid-rows-[1fr_17px]" if @resize_height %>"
style="width: calc(100% + 2px); height: calc(100% + 1px); <%= "max-height: #{@max_height}px;" if @max_height.present? %>">
<% if @resize_width %>
"
@pointerdown="onResizeWidthStart"
@dblclick="toggleFullWidth">
<% end %>
<% if @resize_height %>
"
@pointerdown="onResizeHeightStart"
@dblclick="toggleFullHeight">
<% end %>
<% if @resize_height && @resize_width %>
<% end %>