wwf
3 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
app/components/base/premium-badge/index.tsx
@@ -61,9 +61,13 @@
      {children}
      <Highlight
        className={classNames(
          'absolute top-0 opacity-50 right-1/2 translate-x-[20%] transition-all duration-100 ease-out hover:opacity-80 hover:translate-x-[30%]',
          size === 's' ? 'h-[18px] w-12' : 'h-6 w-12',
          'absolute top-0 opacity-50 hover:opacity-80',
          size === 's' ? 'h-4.5 w-12' : 'h-6 w-12',
        )}
        style={{
          right: '50%',
          transform: 'translateX(10%)',
        }}
      />
    </div>
  )