Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions changelog/fix-WOOPMNT-4181-transactions-search-clipped-mobile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

Fix transactions search box placeholder text being clipped on mobile viewports.
7 changes: 3 additions & 4 deletions client/components/download-button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ $gap-smaller: 8px;
&.has-compare,
&.has-search {
@include breakpoint( '<960px' ) {
.woocommerce-card__action {
.woocommerce-table__actions {
.woocommerce-table__download-button {
grid-area: 1 / 2 / 2 / 3;
justify-self: end;
margin: -6px 0;
position: absolute;
}
}
}

&.has-search:not( .has-compare ) {
.woocommerce-card__action {
.woocommerce-table__actions {
.woocommerce-table__download-button {
align-self: center;
grid-column-start: 2;
Expand All @@ -25,7 +24,7 @@ $gap-smaller: 8px;
}

@include breakpoint( '<960px' ) {
.woocommerce-card__action {
.woocommerce-table__actions {
.woocommerce-table__download-button {
grid-area: 1 / 2 / 2 / 3;
}
Expand Down
14 changes: 7 additions & 7 deletions client/documents/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $gap-small: 12px;

&.has-compare,
&.has-search {
.woocommerce-card__action {
.woocommerce-table__actions {
align-items: center;
text-align: left;
display: grid;
Expand All @@ -49,7 +49,7 @@ $gap-small: 12px;
}

@include breakpoint( '<960px' ) {
.woocommerce-card__action {
.woocommerce-table__actions {
grid-gap: $gap-small;
grid-template-columns: auto 1fr;
grid-row-start: 2;
Expand All @@ -70,7 +70,7 @@ $gap-small: 12px;
}

&.has-search:not( .has-compare ) {
.woocommerce-card__action {
.woocommerce-table__actions {
grid-template-columns: 1fr auto;

.woocommerce-search {
Expand All @@ -81,12 +81,12 @@ $gap-small: 12px;
}

@include breakpoint( '<960px' ) {
.woocommerce-card__action {
grid-template-columns: auto;
.woocommerce-table__actions {
grid-template-columns: 1fr;

.woocommerce-search {
grid-area: 2 / 1 / 3 / 4;
margin-left: 0;
grid-area: 2 / 1 / 3 / 2;
margin: 0;
}
}
}
Expand Down
14 changes: 7 additions & 7 deletions client/transactions/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $gap-small: 12px;

&.has-compare,
&.has-search {
.woocommerce-card__action {
.woocommerce-table__actions {
align-items: center;
text-align: left;
display: grid;
Expand All @@ -68,7 +68,7 @@ $gap-small: 12px;
}

@include breakpoint( '<960px' ) {
.woocommerce-card__action {
.woocommerce-table__actions {
grid-gap: $gap-small;
grid-template-columns: auto 1fr;
grid-row-start: 2;
Expand All @@ -89,7 +89,7 @@ $gap-small: 12px;
}

&.has-search:not( .has-compare ) {
.woocommerce-card__action {
.woocommerce-table__actions {
grid-template-columns: 1fr auto;

.woocommerce-search {
Expand All @@ -100,12 +100,12 @@ $gap-small: 12px;
}

@include breakpoint( '<960px' ) {
.woocommerce-card__action {
grid-template-columns: auto;
.woocommerce-table__actions {
grid-template-columns: 1fr;

.woocommerce-search {
grid-area: 2 / 1 / 3 / 4;
margin-left: 0;
grid-area: 2 / 1 / 3 / 2;
margin: 0;
}
}
}
Expand Down
Loading