Browse Source
* feat(@vben/layouts): make user dropdown avatar dot configurable The online-status dot on the UserDropdown avatar was hardcoded to bg-green-500. Expose avatarDot and avatarDotClass props, defaulting to the previous behavior, so apps can toggle the dot and restyle it like the notification badge. Co-Authored-By: EvoX <evox@evomap.ai> * fix(@vben/layouts): apply avatarDotClass to header trigger avatar too CodeRabbit noted the avatarDotClass prop only styled the dropdown-content avatar; the header trigger avatar still used the default dot style, making custom styling inconsistent. Bind dot-class to both avatars. Co-Authored-By: EvoX <evox@evomap.ai> --------- Co-authored-by: EvoX <evox@evomap.ai>pull/8317/head
committed by
GitHub
4 changed files with 31 additions and 3 deletions
@ -0,0 +1,5 @@ |
|||
--- |
|||
'@vben/layouts': patch |
|||
--- |
|||
|
|||
feat(@vben/layouts): make user dropdown avatar dot configurable via props |
|||
Loading…
Reference in new issue