-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
截止上一个 commit (582fcf8),当 View 的文档流中只存在 u-banner 时,inner-container 的高度会增加 24px,这也使得 Footer 组件会因此会下移至页面底部外 24px 处。具体渲染机制暂时不明,但此情况导 致 View 中只存在 LoadAnim 组件的加载时期和加载完成后页脚位置不一致。 由于页面只有一个 LoadAnim 组件时一般不会在文档流中写入有效的文字内容,因此通过增加一个透明 且有内容的占位 div 即可解决问题。同时为了避免出现设计上的问题,将 Footer 的字号和内外 container 的边距做了统一,防止出现意外。同时为 main 纵向内容溢出处理方式改为 scroll 而非 auto,防止内容溢 出时跑到 main 之外。 Signed-off-by: crrashh1542 <[email protected]>
- Loading branch information
1 parent
582fcf8
commit 7ce9596
Showing
3 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters