mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-24 07:12:18 +10:00
fix(#2976): update header name line height across multiple templates
This commit is contained in:
@@ -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 LeafishStyles = Omit<TemplateStyleSlots, "page"> & {
|
||||
page: Style;
|
||||
@@ -221,7 +221,7 @@ const useLeafishTemplate = (): LeafishTemplate => {
|
||||
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 },
|
||||
headerContactBand: {
|
||||
backgroundColor: primaryTintDark,
|
||||
paddingHorizontal: metrics.page.paddingHorizontal,
|
||||
|
||||
Reference in New Issue
Block a user