fix: Simple page max width configuration (#17948)

This commit is contained in:
Dan Harrin
2025-09-25 10:46:57 +01:00
committed by GitHub
parent 20c5962819
commit 3fe710accb
2 changed files with 4 additions and 2 deletions
@@ -428,7 +428,8 @@ class EditProfile extends Page
{
return [
'hasTopbar' => $this->hasTopbar(),
'maxWidth' => $this->getMaxWidth(),
'maxContentWidth' => $maxContentWidth = $this->getMaxWidth() ?? $this->getMaxContentWidth(),
'maxWidth' => $maxContentWidth,
];
}
+2 -1
View File
@@ -15,7 +15,8 @@ abstract class SimplePage extends BasePage
{
return [
'hasTopbar' => $this->hasTopbar(),
'maxWidth' => $this->getMaxWidth(),
'maxContentWidth' => $maxContentWidth = $this->getMaxWidth() ?? $this->getMaxContentWidth(),
'maxWidth' => $maxContentWidth,
];
}