mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
added comments about form height
This commit is contained in:
parent
974203d325
commit
9afe46622b
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue