Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/src/components/editor/title-box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ function TitleBox(props: TitleBoxProps) {
rows={1}
sx={{
m: 0,
p: 0,
p: "0.3em 0 0.1em",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I adjusted the padding of the title text be aligned with its font size. Without the padding, there is too little space between the title and the elements next to it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to use the standard padding sizes then.

fontFamily,
fontSize: ["1.625em", "1.625em", "2.625em"],
fontSize: ["1.625em", "1.625em", "1.8em"],
fontWeight: "heading",
width: "100%",
fieldSizing: "content",
Expand Down