Flex layout scroll bar

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    body,
    html {
      margin: 0;
      padding: 0;
      height: 100%
    }

    .container {
      display: flex;
    }

    .left {
      width: 400px;
      display: flex;
      flex-direction: column;
      background-color: aquamarine;
    }

    .title {
      height: 300px;
      background-color: darkgoldenrod;
    }

    .content {
      flex: 1;
      overflow: auto;
    }

    ul li {
      padding: 300px 0;
    }

    .right {
      flex: 1;
    }

  </style>
</head>
<body>
  <div class="container">
    <div class="left">
      <div class="title">123</div>
      <div class="content">
        <ul>
          <li>123</li>
          <li>123</li>
          <li>123</li>
          <li>123</li>
          <li>123</li>
          <li>123</li>
        </ul>
      </div>
    </div>
    <div class="right">right</div>
  </div>
</body>
</html>

Why doesn"t the div.content on the left appear scroll bar? Is this the wrong way for flex to use it?

Mar.09,2021

in the container on the left, you want to divide it into upper and lower structures. The div under the div400px; above occupies the rest of the height you want, right?
the idea is correct, but the total height is auto, so what is the remaining height, how much is auto-400?

so, can specify the total height


.container {
    height: 100vh;
    display: flex;
}

overflow-x:hidden; horizontal scroll bar hidden,-y is vertical, overflow:hidden: beyond content hiding and scroll bar all disappear auto is forced to show

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb3584-2448.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb3584-2448.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?