I have the following layout:
<div id="app">
<div class="document-reader-root">
<div class="left-bar">
Left bar
</div>
<div class="content">
Content
</div>
</div>
<div class="right-bar">
Right bar
</div>
</div>
After clicking a button, I adjust the flex size of the left-bar
and content
. However, this adjustment causes a slight movement in the content. To better illustrate the issue, I have created a jsfiddle demo. Please note that I am unable to modify the structure of the divs.
Any suggestions on how to prevent this movement?
Thank you!