mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-04 11:00:47 +08:00
fix: 页面使用最外层滚动
This commit is contained in:
@@ -58,10 +58,8 @@ export default {
|
||||
|
||||
<style>
|
||||
.header-container {
|
||||
position: fixed;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
@@ -69,7 +67,7 @@ export default {
|
||||
|
||||
.content {
|
||||
/* height: calc(100vh - var(--header-height)); */
|
||||
padding-top: var(--header-height);
|
||||
/* padding-top: var(--header-height); */
|
||||
flex: 1;
|
||||
max-width: 100%;
|
||||
transition: max-width 0.3s ease;
|
||||
|
||||
Reference in New Issue
Block a user