mirror of
https://github.com/nexu-io/open-design.git
synced 2026-10-27 09:51:12 +01:00
fix(web): align low-balance dialog action styles (#7138)
Co-authored-by: 黄玉婷 <huangyuting@refly.ai>
This commit is contained in:
co-authored by
黄玉婷
parent
6def520ee2
commit
1bf50f4d00
@@ -86,6 +86,10 @@
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.footerActions .action {
|
||||
border-radius: var(--radius-pill);
|
||||
}
|
||||
|
||||
.cta {
|
||||
transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
|
||||
}
|
||||
|
||||
@@ -106,12 +106,16 @@ export function AmrLowBalanceDialog({
|
||||
{t('chat.amrLowBalance.dontRemind')}
|
||||
</label>
|
||||
<div className={styles.footerActions}>
|
||||
<Button onClick={() => decide('proceed')} data-testid="amr-low-balance-dialog-proceed">
|
||||
<Button
|
||||
className={styles.action}
|
||||
onClick={() => decide('proceed')}
|
||||
data-testid="amr-low-balance-dialog-proceed"
|
||||
>
|
||||
{t('chat.amrLowBalance.proceedCta')}
|
||||
</Button>
|
||||
<Button
|
||||
variant="primary"
|
||||
className={styles.cta}
|
||||
className={`${styles.action} ${styles.cta}`}
|
||||
onClick={openConsoleAndPark}
|
||||
data-testid="amr-low-balance-dialog-recharge"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user