Skip to content

Commit

Permalink
Sites dashboard layout improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
taipeicoder committed Oct 20, 2024
1 parent 3b261b1 commit ce3624a
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions client/hosting/sites/components/dotcom-style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,30 +74,32 @@
}

.sites-banner-container {
box-sizing: border-box;
display: flex;
justify-content: center;
margin: 0 auto;
padding-inline: 48px;
width: 100%;

@media (max-width: 402px) {
padding-inline: 24px;
}

@include break-huge {
max-width: 1400px;
}
}

.sites-banner {
width: 100%;
margin-inline: 16px;

.banner__action {
a {
display: flex;
display: inline-flex;
white-space: nowrap;
}
}

@include break-large {
margin-inline: 26px;
}

@include break-huge {
margin-inline: 64px;
width: 100%;
max-width: 1400px;
}
}

.dataviews-filters__view-actions {
Expand Down Expand Up @@ -184,6 +186,10 @@
display: table-cell; /* ensures these cells are always shown */
}

table.dataviews-view-table td:last-child .dataviews-view-table__cell-content-wrapper {
justify-content: flex-end;
}

.sites-overview__content {
margin-top: 0;
}
Expand Down Expand Up @@ -535,9 +541,11 @@

.dataviews-wrapper {
.dataviews-pagination {
border: 0;
margin: 0;
padding-left: 0;
padding-right: 0;
position: relative;
width: 100%;
}

.spinner-wrapper {
Expand All @@ -555,7 +563,12 @@
margin: 0 auto;
max-width: 1400px;
box-sizing: border-box;

.dataviews-pagination {
width: auto;
}
}

div.a4a-layout__viewport {
margin: 0 auto;
max-width: 1400px;
Expand All @@ -564,19 +577,6 @@

.a4a-layout-column__container {
margin: 0 -14px;
.dataviews-wrapper {
.dataviews-pagination {
@include break-large {
padding-left: 26px;
padding-right: 26px;
}

@include break-huge {
padding-left: 64px;
padding-right: 64px;
}
}
}
}
}

Expand All @@ -602,7 +602,7 @@
.a4a-layout__viewport {
display: flex;
margin: 0;
padding: 16px;
padding: 16px 24px;
}

.a4a-layout__header {
Expand Down

0 comments on commit ce3624a

Please sign in to comment.