title: Adjust height of React Cards without including collapse
body: <p>Im creating a web interface which is listing various processes and services. These are all listed in React cards which all support expand/collapse - expanding the cards and showing more information. The information shown in expand will vary in size and information and I don't want the cards to adjust height if a card is expanded. The height is aligned when they are collapsed, but I'm unsure to how to not adjust them when a card is expanded. Example:</p>
  <p><a href="https://i.stack.imgur.com/o8xna.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o8xna.png" alt="Uncollapsed Cards behaving as desired" /></a>
  This image shows how the card height has been aligned to the card with the most content. This is the exact behaviour I want.</p>
  <p><a href="https://i.stack.imgur.com/wStVR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wStVR.png" alt="Collapsed cards expanding wrongly" /></a></p>
  <p>The problem occurs when I expand one of the boxes. The content in the other boxes gets aligned to the new size. I want the expand function to not effect the heigh of the other cards.</p>
  <p>The custom class of the cards is listed here:</p>
  <pre><code>const infoCard = makeStyles({
  root: {
      display: &quot;flex&quot;,
      flexDirection: &quot;column&quot;,
      justifyContent: &quot;space-between&quot;,
      height: &quot;-webkit-fill-available&quot;
  }
  })
  
  const createCards:
     const classes = infoCard();
  ...
  ...
  return (
      &lt;React.Fragment&gt;
        &lt;Card className={classes.root}&gt;
          &lt;CardContent&gt; &quot;Add content&quot; &lt;/CardContent&gt;
          &lt;Collapse&gt;
            &lt;CardContent&gt; &quot;Add content&quot; &lt;/CardContent&gt;
          &lt;/Collapse&gt;
        &lt;/Card&gt;
      &lt;/React.Fragment&gt;
  )
  </code></pre>
  <p>I also want the result to support having additional rows of card below this row.</p>
  <p>Does anyone know how to go around this problem?
  Thanks in advance!</p>