Fixes profile settings copy tooltip truncate (#4504)

Signed-off-by: Bogdan <tsechoev.bogdan@yandex.ru>
This commit is contained in:
Bogdan Tsechoev 2024-02-06 01:09:03 +07:00 committed by GitHub
parent 779d5318c3
commit 722ae8a0f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View File

@ -55,7 +55,7 @@
"NoExpire": "No expire", "NoExpire": "No expire",
"TypeLabel": "Type", "TypeLabel": "Type",
"StatusDueDateTooltip": "Until {date}", "StatusDueDateTooltip": "Until {date}",
"CopyToClipboard": "Copy to clipboard", "CopyToClipboard": "Copy",
"Copied": "Copied", "Copied": "Copied",
"ViewFullProfile": "View full profile", "ViewFullProfile": "View full profile",
"Member": "Member", "Member": "Member",

View File

@ -55,7 +55,7 @@
"NoExpire": "Бессрочно", "NoExpire": "Бессрочно",
"TypeLabel": "Тип", "TypeLabel": "Тип",
"StatusDueDateTooltip": "До {date}", "StatusDueDateTooltip": "До {date}",
"CopyToClipboard": "Скопировать в буфер обмена", "CopyToClipboard": "Скопировать",
"Copied": "Скопировано", "Copied": "Скопировано",
"ViewFullProfile": "Посмотреть профиль", "ViewFullProfile": "Посмотреть профиль",
"Member": "Сотрудник компании", "Member": "Сотрудник компании",

View File

@ -150,7 +150,7 @@
<!-- svelte-ignore a11y-click-events-have-key-events --> <!-- svelte-ignore a11y-click-events-have-key-events -->
<!-- svelte-ignore a11y-no-static-element-interactions --> <!-- svelte-ignore a11y-no-static-element-interactions -->
<span <span
class="select-text cover-channel overflow-label" class="select-text cover-channel overflow-label with-tooltip"
class:show class:show
class:copied={label === plugin.string.Copied} class:copied={label === plugin.string.Copied}
class:cursor-pointer={openable} class:cursor-pointer={openable}
@ -232,6 +232,10 @@
color: var(--theme-content-color); color: var(--theme-content-color);
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
&.with-tooltip {
min-width: 5.25rem;
}
} }
.editor-container { .editor-container {