Commit 96977b4b87c for woocommerce
commit 96977b4b87c1fec9b19c983ec0f9aa9be3861bae
Author: Albert Juhé Lluveras <contact@albertjuhe.com>
Date: Wed Nov 25 15:48:44 2026 +0100
Purple: Make chevron in selects follow padding (#71427)
* Purple: make chevron in selects follow padding
* Add changelog file
* Fix 1px misalignment between chevron and text
* Ensure correct spacing in wide selects
* Move padding to gap
* Add forced-color-adjust
diff --git a/themes/purple/changelog/update-purple-select-chevron-padding b/themes/purple/changelog/update-purple-select-chevron-padding
new file mode 100644
index 00000000000..618c486b7f8
--- /dev/null
+++ b/themes/purple/changelog/update-purple-select-chevron-padding
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Make chevron in selects follow padding
diff --git a/themes/purple/style.css b/themes/purple/style.css
index 92ed4b439d3..4c0f06ba699 100644
--- a/themes/purple/style.css
+++ b/themes/purple/style.css
@@ -32,6 +32,26 @@ body {
--wc-form-border-radius: 0;
}
+@supports (appearance: base-select) {
+ select:not([multiple], [size]) {
+ appearance: base-select;
+ align-items: center;
+ gap: var(--wp--preset--spacing--10);
+ }
+
+ select:not([multiple], [size])::picker-icon {
+ forced-color-adjust: none;
+ background-color: currentColor;
+ block-size: 0.42rem;
+ content: "";
+ inline-size: 0.75rem;
+ margin-block-start: -1px;
+ mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%275.25 8.25 13.5 7.5%27 fill=%27none%27%3E%3Cpolyline points=%276 9 12 15 18 9%27 stroke=%27%23000%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
+ mask-repeat: no-repeat;
+ mask-size: contain;
+ }
+}
+
/* ==========================================================================
WooCommerce — Mini cart
========================================================================== */