mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-20 02:17:24 +00:00
fix(desktop): make update banner action buttons easier to click
This commit is contained in:
1 parent
622e405436
commit
0292440c35
1 file changed
+3
-3
@@ -53,7 +53,7 @@ export function UpdateBanner() {
|
||||
</span>
|
||||
<button
|
||||
onClick={handleUpdate}
|
||||
className="font-medium text-accent hover:underline cursor-pointer"
|
||||
className="font-medium text-accent bg-accent/10 hover:bg-accent/20 px-3 py-1 rounded-md cursor-pointer transition-colors"
|
||||
>
|
||||
{t('update.now', 'Update Now')}
|
||||
</button>
|
||||
@@ -81,7 +81,7 @@ export function UpdateBanner() {
|
||||
<span className="text-text-primary">{t('update.ready', 'Update installed! Restart to apply.')}</span>
|
||||
<button
|
||||
onClick={handleRestart}
|
||||
className="font-medium text-accent hover:underline cursor-pointer"
|
||||
className="font-medium text-accent bg-accent/10 hover:bg-accent/20 px-3 py-1 rounded-md cursor-pointer transition-colors"
|
||||
>
|
||||
{t('update.restart', 'Restart Now')}
|
||||
</button>
|
||||
@@ -91,7 +91,7 @@ export function UpdateBanner() {
|
||||
{state === 'error' && (
|
||||
<>
|
||||
<span className="text-error">{t('update.failed', 'Update failed.')}</span>
|
||||
<button onClick={handleUpdate} className="font-medium text-accent hover:underline cursor-pointer">
|
||||
<button onClick={handleUpdate} className="font-medium text-accent bg-accent/10 hover:bg-accent/20 px-3 py-1 rounded-md cursor-pointer transition-colors">
|
||||
{t('update.retry', 'Retry')}
|
||||
</button>
|
||||
<div className="flex-1" />
|
||||
|
||||
Reference in new issue
Block a user