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",
"TypeLabel": "Type",
"StatusDueDateTooltip": "Until {date}",
"CopyToClipboard": "Copy to clipboard",
"CopyToClipboard": "Copy",
"Copied": "Copied",
"ViewFullProfile": "View full profile",
"Member": "Member",

View File

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

View File

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