We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Butterfly Version:稳定版3.6.0
Platform:windows
Browser:chrome
fixed定位本该相对于可视窗口进行定位
但是现在是相对于元素父元素进行定位。 然而又不是每个fixed定位的元素都是如此。
这是我的网站 https://akilar.top
目前来看只有在#content-inner里的内容会出现这个问题。从查阅的资料来看推测应该是这个地方为了配合top-img的全局开关使用了transform属性来实现位移。导致后续的堆叠样式失效。我单纯调整计算位置的js没有多少意义,因为底层逻辑是相对于可视窗口并根据悬停位置计算的,但是现在fixed定位相对于父元素了。不管怎么计算。窗口一变动又会偏移。
The text was updated successfully, but these errors were encountered:
你試下找到這個css 然後刪掉
Sorry, something went wrong.
fix: 文章頁有toc的界面出現滾動條
a50a639
fix: 在layout標簽內的元素,如是position: fixed,其相對定位會更改 #482 #483
991b41e
fix: 在layout標簽內的元素,如是position: fixed,其相對定位會更改 jerryc127#482 jerryc127#483
No branches or pull requests
I want to create a Bug report
Butterfly Information
Butterfly Version:稳定版3.6.0
Platform:windows
Browser:chrome
Expected behavior
fixed定位本该相对于可视窗口进行定位
Actual behavior
但是现在是相对于元素父元素进行定位。
然而又不是每个fixed定位的元素都是如此。
Steps to reproduce the behavior
Screenshots
Website
这是我的网站 https://akilar.top
Describe the bug
目前来看只有在#content-inner里的内容会出现这个问题。从查阅的资料来看推测应该是这个地方为了配合top-img的全局开关使用了transform属性来实现位移。导致后续的堆叠样式失效。我单纯调整计算位置的js没有多少意义,因为底层逻辑是相对于可视窗口并根据悬停位置计算的,但是现在fixed定位相对于父元素了。不管怎么计算。窗口一变动又会偏移。
The text was updated successfully, but these errors were encountered: