fix(#2976): update header name line height across multiple templates

This commit is contained in:
Amruth Pillai
2026-05-07 21:34:01 +02:00
parent 2b3af1f7b7
commit 1b0bb067b6
15 changed files with 30 additions and 28 deletions
@@ -13,7 +13,7 @@ import { getTemplatePageSize } from "../shared/page-size";
import { hasTemplatePicture } from "../shared/picture";
import { Heading, Icon, Link, Text } from "../shared/primitives";
import { Section } from "../shared/sections";
import { composeStyles } from "../shared/styles";
import { composeStyles, headerNameLineHeight } from "../shared/styles";
type RhyhornStyles = Omit<TemplateStyleSlots, "page"> & {
page: Style;
@@ -194,7 +194,7 @@ const useRhyhornTemplate = (): RhyhornTemplate => {
header: { flexDirection: "row", alignItems: "center", columnGap: metrics.gapX(0.5) },
headerTitle: { flex: 1, rowGap: metrics.gapY(0.5) },
headerIdentity: { textAlign: "left", alignItems: "flex-start", rowGap: metrics.gapY(0.35) },
headerName: { fontSize: metadata.typography.heading.fontSize * 1.5, lineHeight: 1 },
headerName: { fontSize: metadata.typography.heading.fontSize * 1.5, lineHeight: headerNameLineHeight },
contactList: { flexDirection: "row", flexWrap: "wrap", rowGap: metrics.gapY(0.125) },
contactItem: {
flexDirection: "row",