style: updated margins and font styles for editor (#5978)
* style: updated margins and font styles for editor * fix: code block font size in small font * fix: remove duplicate code
This commit is contained in:
parent
1217af1d5f
commit
97eb8d43d4
6 changed files with 50 additions and 40 deletions
|
|
@ -25,9 +25,9 @@ export const PageEditorTitle: React.FC<Props> = observer((props) => {
|
|||
// page filters
|
||||
const { fontSize } = usePageFilters();
|
||||
// ui
|
||||
const titleClassName = cn("bg-transparent tracking-[-2%] font-semibold", {
|
||||
"text-[1.6rem] leading-[1.8rem]": fontSize === "small-font",
|
||||
"text-[2rem] leading-[2.25rem]": fontSize === "large-font",
|
||||
const titleClassName = cn("bg-transparent tracking-[-2%] font-bold", {
|
||||
"text-[1.6rem] leading-[1.9rem]": fontSize === "small-font",
|
||||
"text-[2rem] leading-[2.375rem]": fontSize === "large-font",
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue