Skip to content

Commit

Permalink
Fix domain table spacings
Browse files Browse the repository at this point in the history
  • Loading branch information
m1r0 committed Feb 6, 2025
1 parent e73bd8b commit 7a30959
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function BulkAllDomains( props: BulkAllDomainsProps ) {
.select-dropdown,
.select-dropdown__header {
height: 40px;
height: var( --domains-table-toolbar-height, 40px );
border-radius: 4px;
}
Expand Down Expand Up @@ -123,9 +123,9 @@ export default function BulkAllDomains( props: BulkAllDomainsProps ) {
}
.domains-table {
margin-top: 40px;
.domains-table-toolbar {
margin-inline: 48px;
padding: 16px 0;
.domains-table-bulk-actions-toolbar {
align-items: flex-start;
Expand Down Expand Up @@ -176,7 +176,7 @@ export default function BulkAllDomains( props: BulkAllDomainsProps ) {
}
th {
padding-top: 22px;
padding-top: 14px;
padding-bottom: 14px;
.list__header-column {
Expand Down
4 changes: 4 additions & 0 deletions client/my-sites/domains/domain-management/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@
align-items: flex-start;

.domains-table-search {
.components-base-control__field {
margin: 0;
}

.components-input-control__container {
background-color: var(--wp-components-color-background, #fff);
border-radius: 2px;
Expand Down
2 changes: 1 addition & 1 deletion packages/domains-table/src/domains-table/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

.domains-table {
.domains-table-toolbar {
--domains-table-toolbar-height: 40px;
--domains-table-toolbar-height: 32px;
}

table {
Expand Down

0 comments on commit 7a30959

Please sign in to comment.