Skip to content

Commit

Permalink
Remove temporary transaction table search field CSS that was used for…
Browse files Browse the repository at this point in the history
… Payment Activity Card report filtering (#9881)

Co-authored-by: Jessy <[email protected]>
Co-authored-by: Jessy Pappachan <[email protected]>
Co-authored-by: Shendy <[email protected]>
  • Loading branch information
4 people authored Dec 15, 2024
1 parent cb65e92 commit db8947f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 52 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

Fix inconsistent alignment of the download button across transactions, payouts, and disputes reporting views for a more cohesive user interface.
52 changes: 0 additions & 52 deletions client/transactions/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -153,56 +153,4 @@ $gap-small: 12px;
height: auto;
}
}

.components-card__header {
// These styles improve the overflow behaviour of the Search component within the TableCard, when many tags are selected. Used for transaction list views. See PR #8996
.woocommerce-search.woocommerce-select-control
.woocommerce-select-control__listbox {
position: relative;
top: 5px;
}
.woocommerce-table__actions {
justify-content: space-between;

& > div {
width: 85%;
margin-right: 0;
}

button.woocommerce-table__download-button {
@include breakpoint( '<1040px' ) {
.woocommerce-table__download-button__label {
display: none;
}
}
}

.woocommerce-select-control.is-focused
.woocommerce-select-control__control {
flex-wrap: wrap;

.woocommerce-select-control__tags {
white-space: wrap;
}
}
.woocommerce-select-control__tags {
overflow-x: auto;
white-space: nowrap;
scrollbar-width: none;
margin-right: 25px;
}

.woocommerce-select-control.is-focused
.components-base-control
.components-base-control__field {
flex-basis: 45%;
}

@include breakpoint( '<960px' ) {
.woocommerce-search {
margin: 0;
}
}
}
}
}

0 comments on commit db8947f

Please sign in to comment.