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, resolvePlacementColor } from "../shared/styles";
import { composeStyles, headerNameLineHeight, resolvePlacementColor } from "../shared/styles";
type GengarStyles = Omit<TemplateStyleSlots, "page"> & {
page: Style;
@@ -318,7 +318,7 @@ const useGengarTemplate = (): GengarTemplate => {
headerName: {
fontSize: metadata.typography.heading.fontSize * 1.5,
color: background,
lineHeight: 1,
lineHeight: headerNameLineHeight,
},
headerText: {
color: background,