Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sites Dashboard: Remove max-width constraints for full-width title alignment #96713

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions client/sites/components/dotcom-style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@
.a4a-layout__body {
> * {
padding-inline: 48px;
max-width: none;
max-width: 1400px !important;
margin-inline: auto !important;

// Override the max-width set in a8c-for-agencies/components/layout/style.scss
// as the title aligns with DataViews (full width).
max-width: revert;
@media (max-width: 402px) {
padding-inline: 24px;
}
Expand Down Expand Up @@ -387,9 +386,9 @@

.wpcom-site .main.a4a-layout.sites-dashboard.sites-dashboard__layout.preview-hidden {
div.a4a-layout__viewport {
margin: 0 auto;
max-width: 1400px;
box-sizing: border-box;
// margin: 0 auto;
// max-width: 1400px;
// box-sizing: border-box;
}
}

Expand Down
Loading