Skip to content

Commit

Permalink
fix: Adjusted Title Section
Browse files Browse the repository at this point in the history
  • Loading branch information
noahonyejese committed Oct 1, 2024
1 parent 50a95ab commit dc79ea6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion components/setup/Title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const Title = () => {
const { title, description } = displayData;

const titleWidth = getTextWidth(title, {
fontSize: titleStyles.title.fontSize + 2,
fontSize: titleStyles.title.fontSize + 4,
fontFamily: titleStyles.title.fontFamily,
});
const descriptionWidth = getTextWidth(description, {
fontSize: titleStyles.description.fontSize,
Expand Down Expand Up @@ -72,12 +73,14 @@ export const useTitleStyle = (query: MediaQueries) => {
title: {
fontSize: adjustToMedia(query, [24, 32, 40]),
fontWeight: 'bold',
fontFamily: 'Arial',
color: '#fff',
filter: 'url(#text-glow-slight)',
},
description: {
fontSize: adjustToMedia(query, [12, 16, 16]),
fontWeight: 'medium',
fontFamily: 'Arial',
color: '#888',
},
};
Expand Down
2 changes: 1 addition & 1 deletion components/team-communication/internal/TeamNodes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const TeamNodes: FC<ITeamNodeProps> = ({
fontFamily: 'Apple Color Emoji',
}) / 2,
offsetY:
adjustToMedia(media, [96, 104, 112]) + node.radius,
node.radius,
})
: { y: node.y, x: node.x }),
fontSize: reactionChange
Expand Down

0 comments on commit dc79ea6

Please sign in to comment.