Add max content width method to template creation and editing pages: Implemented getMaxContentWidth method in Create and Edit classes for Header, Footer, and Section templates to set the maximum content width to Full. Updated HTML content field styling in form schemas to improve usability by adjusting height and overflow properties.
This commit is contained in:
@@ -36,7 +36,7 @@ class SectionTemplateForm
|
||||
->columnSpanFull()
|
||||
->helperText(__('section-templates.field_html_content_help'))
|
||||
->extraAttributes([
|
||||
'style' => 'min-height: 200px; overflow-x: auto;', // Metni yatay kaydırma eklendi
|
||||
'style' => 'max-height: 400px;overflow-y: auto;',
|
||||
'data-field-name' => 'html_content',
|
||||
]),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user