Skip to content
代码片段 群组 项目
未验证 提交 c7e996f8 编辑于 作者: Sascha Eggenberger's avatar Sascha Eggenberger 提交者: GitLab
浏览文件

Profile page: Fix whitepsace issue

Fixes an issue where a whitespace would appear at the bottom
of the page when a user has a long README.

Changelog: fixed
上级 b08b037d
No related branches found
No related tags found
无相关合并请求
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
&:has(.read-more-content--has-scrim:not(.is-expanded)) { &:has(.read-more-content--has-scrim:not(.is-expanded)) {
position: relative; position: relative;
max-height: var(--read-more-height, #{$fallback - $height}); max-height: var(--read-more-height, #{$fallback - $height});
overflow: clip; scroll-padding-top: 1000vh; // Fix anchor scroll, keep it up top
} }
// only appears when size is > $height. // only appears when size is > $height.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册