fixed descriptions elements
This commit is contained in:
parent
85b4cdc807
commit
7f3b1795af
@ -2191,9 +2191,7 @@ const ConstructorPage = ({ mode = 'constructor' }: ConstructorPageProps) => {
|
||||
<p
|
||||
className='font-bold'
|
||||
style={{
|
||||
fontSize: element.descriptionTitleFontSize
|
||||
? `calc(${element.descriptionTitleFontSize} * 0.25)`
|
||||
: '12px',
|
||||
fontSize: element.descriptionTitleFontSize || '48px',
|
||||
fontFamily: element.descriptionTitleFontFamily || 'inherit',
|
||||
color: element.descriptionTitleColor || '#000000',
|
||||
}}
|
||||
@ -2204,9 +2202,7 @@ const ConstructorPage = ({ mode = 'constructor' }: ConstructorPageProps) => {
|
||||
<p
|
||||
className='line-clamp-4'
|
||||
style={{
|
||||
fontSize: element.descriptionTextFontSize
|
||||
? `calc(${element.descriptionTextFontSize} * 0.25)`
|
||||
: '9px',
|
||||
fontSize: element.descriptionTextFontSize || '36px',
|
||||
fontFamily: element.descriptionTextFontFamily || 'inherit',
|
||||
color: element.descriptionTextColor || '#4B5563',
|
||||
}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user