mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
fix: Simple page max width configuration (#17948)
This commit is contained in:
@@ -428,7 +428,8 @@ class EditProfile extends Page
|
||||
{
|
||||
return [
|
||||
'hasTopbar' => $this->hasTopbar(),
|
||||
'maxWidth' => $this->getMaxWidth(),
|
||||
'maxContentWidth' => $maxContentWidth = $this->getMaxWidth() ?? $this->getMaxContentWidth(),
|
||||
'maxWidth' => $maxContentWidth,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,8 @@ abstract class SimplePage extends BasePage
|
||||
{
|
||||
return [
|
||||
'hasTopbar' => $this->hasTopbar(),
|
||||
'maxWidth' => $this->getMaxWidth(),
|
||||
'maxContentWidth' => $maxContentWidth = $this->getMaxWidth() ?? $this->getMaxContentWidth(),
|
||||
'maxWidth' => $maxContentWidth,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user