Skip to content

Commit

Permalink
Properly align shpping fields on cart page to close #254
Browse files Browse the repository at this point in the history
  • Loading branch information
madalingorbanescu committed May 24, 2021
1 parent 8045b84 commit 85971d6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/css/woocommerce/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1551,6 +1551,10 @@
.woocommerce-cart .promo-bar {
display: none; }

.woocommerce-cart .woocommerce table.shop_table_responsive tr td,
.woocommerce-cart .woocommerce-page table.shop_table_responsive tr td {
text-align: right !important; }

.woocommerce table.shop_table {
border: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
Expand Down
4 changes: 4 additions & 0 deletions dist/css/woocommerce/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1551,6 +1551,10 @@
.woocommerce-cart .promo-bar {
display: none; }

.woocommerce-cart .woocommerce table.shop_table_responsive tr td,
.woocommerce-cart .woocommerce-page table.shop_table_responsive tr td {
text-align: left !important; }

.woocommerce table.shop_table {
border: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
Expand Down
5 changes: 5 additions & 0 deletions src/scss/woocommerce/pages/_cart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
.promo-bar {
display: none;
}

.woocommerce table.shop_table_responsive tr td,
.woocommerce-page table.shop_table_responsive tr td {
text-align: left !important;
}
}

.woocommerce table.shop_table {
Expand Down

0 comments on commit 85971d6

Please sign in to comment.