Commit 69e9e605be8 for woocommerce
commit 69e9e605be820fac30f8d919137904dfc2001c6f
Author: Saskia Teichmann <s-a-s-k-i-a@users.noreply.github.com>
Date: Mon Sep 7 13:40:51 2026 +0200
Prevent admin price amounts from wrapping when a space is used as thousands separator (#68115)
* Prevent admin price amounts from wrapping at space thousands separators
When the thousands separator is a space, price amounts in the admin
order and product list tables wrapped onto multiple lines, making them
hard to read.
Fixes #63303
* Scope admin price nowrap to list tables
---------
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
diff --git a/plugins/woocommerce/changelog/63303-admin-price-wrapping b/plugins/woocommerce/changelog/63303-admin-price-wrapping
new file mode 100644
index 00000000000..cfa8f9af6ec
--- /dev/null
+++ b/plugins/woocommerce/changelog/63303-admin-price-wrapping
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Prevent price amounts from wrapping onto multiple lines in admin list tables when a space is used as the thousands separator.
diff --git a/plugins/woocommerce/client/legacy/css/admin.scss b/plugins/woocommerce/client/legacy/css/admin.scss
index 752b207e21a..0add48b10fc 100644
--- a/plugins/woocommerce/client/legacy/css/admin.scss
+++ b/plugins/woocommerce/client/legacy/css/admin.scss
@@ -3792,6 +3792,10 @@ ul.order_notes {
}
table.wp-list-table {
+ .woocommerce-Price-amount {
+ white-space: nowrap;
+ }
+
.column-thumb {
width: 52px;
text-align: center;