Skip to content

Commit e0ef272

Browse files
committed
fix: footer in first page show only once
1 parent 9892130 commit e0ef272

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

assets/css/cv.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,22 +1043,25 @@ body.light-mode .fname { color: #0f172a }
10431043
#page {
10441044
page-break-after: always;
10451045
break-after: page;
1046+
display: flex;
1047+
flex-direction: column;
10461048
}
10471049

10481050
/* ── Formal page (page 2) print overrides ── */
10491051
#shell-formal { padding: 0 }
10501052
#page-formal {
10511053
width: 100%; margin: 0;
10521054
border: none; box-shadow: none;
1053-
padding: .9rem 1.4rem 2.5rem;
1054-
min-height: 0;
1055+
padding: .9rem 1.4rem 1.4rem;
1056+
min-height: calc(297mm - 20mm);
10551057
page-break-before: always;
10561058
break-before: page;
1059+
display: flex;
1060+
flex-direction: column;
10571061
}
10581062
#footer-formal {
1059-
position: fixed;
1060-
bottom: 0; left: 0; right: 0;
1061-
margin-top: 0;
1063+
position: static;
1064+
margin-top: auto;
10621065
padding: .55rem 1.4rem;
10631066
border-top: 1px solid rgba(68,103,207,.3);
10641067
}

0 commit comments

Comments
 (0)