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
Publish Fast Tabler Docker image / build-and-push-fast (push) Failing after 3m23s
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user