fix: displan badge based on workspace plan (#15489)

This commit is contained in:
NFish 2025-03-11 17:01:17 +08:00 • committed by GitHub
commit b730f243dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 34 additions and 39 deletions

View file

@ -62,7 +62,7 @@ const PremiumBadge: React.FC<PremiumBadgeProps> = ({
<Highlight
className={classNames(
'absolute top-0 opacity-50 hover:opacity-80',
size === 's' ? 'h-4.5 w-12' : 'h-6 w-12',
size === 's' ? 'h-[18px] w-12' : 'h-6 w-12',
)}
style={{
right: '50%',