mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 20:54:14 +00:00
fix(clients): make empty-state text readable on dark/ultra themes
The "No clients yet" empty state had a hardcoded black color (rgba(0,0,0,0.45)) that vanished against the dark backgrounds. Drop the inline color, let it inherit from the AntD theme, and fade with opacity like the mobile card empty state already does. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
ad56b1bbd7
commit
14ad255c38
1 changed files with 7 additions and 1 deletions
|
|
@ -724,7 +724,7 @@ const columns = computed(() => [
|
|||
</template>
|
||||
|
||||
<template #emptyText>
|
||||
<div style="padding: 32px 0; color: rgba(0, 0, 0, 0.45); text-align: center">
|
||||
<div class="clients-empty">
|
||||
<UserOutlined style="font-size: 32px; margin-bottom: 8px" />
|
||||
<div>{{ t('pages.clients.empty') || 'No clients yet.' }}</div>
|
||||
</div>
|
||||
|
|
@ -1013,6 +1013,12 @@ const columns = computed(() => [
|
|||
gap: 8px;
|
||||
}
|
||||
|
||||
.clients-empty {
|
||||
padding: 32px 0;
|
||||
text-align: center;
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.danger-item {
|
||||
color: #ff4d4f;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue