title: Set height of a div in vue js
body: <p>I am using vue js . I want to set one div based on another div height, with pure javascript. the problem I am facing is I can't set the height using pure java script. but I can set it using jquery. can any one please help me to change this jquery to javascript . the code I am using is given</p>
  
  <pre><code> Vue.nextTick(function () {
              var offsetHeight = document.getElementById('filterSection').offsetHeight;
              $(".searchResultSection").css("max-height",`calc(100% - ${offsetHeight}px)`);
             });
  </code></pre>
  
  <p>I need to change the jquery part into java script.</p>