JSFiddle - React, Tailwind, and code Playground

HTML

<div id="wrapper">
  <div id="box1">
    <bold>BOX 1</bold><br>
    Is there any way, box2 can stand next to the box 1 without limiting the width of box1. (Repeat)Is there any way, box2 can stand next to the box 1 without limiting the width of box1
  </div>
  <div id="box2">
    <bold>BOX 2</bold><br>
    Is there any way, box2 can stand next to the red without limiting the width of box1
  </div>
</div>

CSS

#wrapper{
   display: flex;
   flex-flow: row nowrap;
   min-height: 150px;
}

 #box1 {
   flex:1; 
   background: red;
 }

#box2 {
   flex:0; 
   flex-basis:400px;
   background: green;
}