fix: header use fixed

This commit is contained in:
Tim
2025-08-05 19:23:44 +08:00
parent f0caf930c5
commit a543a7bcf2

View File

@@ -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;