height

set height explicitly

height: 100%

/*
   ็•ถๆˆ‘ๅ€‘่จญๅฎš height: 100% ๆ™‚๏ผŒๆญค่จญๅฎšไธฆไธๆœƒ็œŸๆญฃ็™ผ็”Ÿไฝœ็”จ๏ผŒ
   ้™ค้žๅฎƒ็š„ๆฏ็‰ฉไปถๆœ‰ใ€Œๆ˜Ž็ขบ่จญๅฎšใ€heightใ€‚
   โญ๏ธ ๆณจๆ„๏ผš่จญๅฎšๆฏ็‰ฉไปถ็š„ min-height ไธฆๆฒ’ๆœ‰ๅนซๅŠฉโ—๏ธ
 */
i-vstack:only-child {
    height: 100%;
}

Last updated

Was this helpful?