Skip to content

Commit

Permalink
Set default page width top correct value
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusKjeldgaard committed Aug 2, 2023
1 parent ee7e788 commit 82fb392
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const fieldsetHtml = `
<fieldset>
<legend>Max Width</legend>
<select (change)="onMaxWidthChange($event.target.value)">
<option value="">-</option>
<option
*ngFor="let option of maxWidthOptions"
value="{{ option.value }}"
Expand Down
2 changes: 1 addition & 1 deletion libs/core/src/scss/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ $avatar-badge-size: 16px;

/* Page
****************************************************************************/
$page-content-max-width: 720px;
$page-content-max-width: 792px;

/* Modal
****************************************************************************/
Expand Down
4 changes: 0 additions & 4 deletions libs/designsystem/page/src/page.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ ion-content {
--padding-top: 0;
}

&.max-width-standard {
--page-content-max-width: 792px;
}

&.max-width-optimized {
--page-content-max-width: 1092px;
}
Expand Down

0 comments on commit 82fb392

Please sign in to comment.