refactor(EasySwitchManager): enhance text display by removing truncation and adding word break for better readability
Publish Fast Tabler Docker image / build-and-push-fast (push) Failing after 3m23s

This commit is contained in:
2026-02-11 01:21:26 +07:00
parent 497940b29f
commit 896f1ee3a7
+6 -10
View File
@@ -932,10 +932,8 @@ function EasySwitchManager() {
</span>
<div className="flex-grow-1 min-w-0">
<div
className={`fw-bold text-truncate ${
isActive ? 'text-white' : ''
}`}
style={{ fontSize: '0.85rem', lineHeight: '1.2' }}
className={`fw-bold ${isActive ? 'text-white' : ''}`}
style={{ fontSize: '0.85rem', lineHeight: '1.2', wordBreak: 'break-word' }}
>
{gw.comment || gw.name}
</div>
@@ -1093,10 +1091,8 @@ function EasySwitchManager() {
</span>
<div className="flex-grow-1 min-w-0">
<div
className={`fw-bold text-truncate ${
isActive ? 'text-white' : ''
}`}
style={{ fontSize: '0.85rem', lineHeight: '1.2' }}
className={`fw-bold ${isActive ? 'text-white' : ''}`}
style={{ fontSize: '0.85rem', lineHeight: '1.2', wordBreak: 'break-word' }}
>
{gw.comment || gw.name}
</div>
@@ -1243,8 +1239,8 @@ function EasySwitchManager() {
</span>
<div className="flex-grow-1 min-w-0">
<div
className={`fw-bold text-truncate ${isActive ? 'text-white' : ''}`}
style={{ fontSize: '0.85rem', lineHeight: '1.2' }}
className={`fw-bold ${isActive ? 'text-white' : ''}`}
style={{ fontSize: '0.85rem', lineHeight: '1.2', wordBreak: 'break-word' }}
>
{gw.comment || gw.name}
</div>