mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-05-27 13:07:40 +08:00
Merge remote-tracking branch 'origin/main' into codex/fix-sticky-header-and-jumptohashcomment
This commit is contained in:
@@ -58,8 +58,10 @@ export default {
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.header-container {
|
.header-container {
|
||||||
position: sticky;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -67,7 +69,7 @@ export default {
|
|||||||
|
|
||||||
.content {
|
.content {
|
||||||
/* height: calc(100vh - var(--header-height)); */
|
/* height: calc(100vh - var(--header-height)); */
|
||||||
/* padding-top: var(--header-height); */
|
padding-top: var(--header-height);
|
||||||
flex: 1;
|
flex: 1;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
transition: max-width 0.3s ease;
|
transition: max-width 0.3s ease;
|
||||||
|
|||||||
Reference in New Issue
Block a user