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:
parent
3c807ca1b3
commit
70ce9ff62b
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ if (!function_exists('option_format_hint')) {
|
||||||
}
|
}
|
||||||
if ($type === 'text') {
|
if ($type === 'text') {
|
||||||
if (preg_match('/radius/i', $key)) {
|
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)) {
|
if (preg_match('/margin|height/i', $key)) {
|
||||||
return "plain px number, e.g. 15 (margins 0-100)";
|
return "plain px number, e.g. 15 (margins 0-100)";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue