docs(variants): shorten the border-radius format hint

"CSS radius in px or rem, e.g. 5px" instead of the longer wording.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Tammo ter Hark 2026-11-30 17:16:09 +01:00
commit 70ce9ff62b

View file

@ -60,7 +60,7 @@ if (!function_exists('option_format_hint')) {
}
if ($type === 'text') {
if (preg_match('/radius/i', $key)) {
return "CSS length in px or rem, e.g. 5px (border-radius; NOT seconds)";
return "CSS radius in px or rem, e.g. 5px";
}
if (preg_match('/margin|height/i', $key)) {
return "plain px number, e.g. 15 (margins 0-100)";