mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-05 11:30:46 +08:00
fix: header use fixed
This commit is contained in:
@@ -58,8 +58,10 @@ export default {
|
||||
|
||||
<style>
|
||||
.header-container {
|
||||
position: sticky;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
@@ -67,7 +69,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