added comments about form height

This commit is contained in:
Ben Wheeler 2019-05-15 18:08:25 -04:00
parent 974203d325
commit 9afe46622b

View file

@ -471,8 +471,14 @@ $stage-width: 480px;
.project-description-form {
display: flex;
width: 100%;
// surprisingly, without setting height: 100% here, flex-grow causes the
// height to be too large
height: 100%;
// surprisingly, just having some min-height actually reduces the height
// of the element when it is being vertically crowded by other elements
min-height: 2rem;
// necessary to cause the element to take up the maximum height
// available
flex-grow: 1;
}