mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-22 00:37:05 +08:00
@@ -283,7 +283,7 @@ export class LinkedDocPopover extends SignalWatcher(
|
|||||||
return html`
|
return html`
|
||||||
<div class="divider" ?hidden=${idx === 0}></div>
|
<div class="divider" ?hidden=${idx === 0}></div>
|
||||||
<div class="group-title">
|
<div class="group-title">
|
||||||
${group.name}
|
<div class="group-title-text">${group.name}</div>
|
||||||
${group.isLoading
|
${group.isLoading
|
||||||
? html`<span class="loading-icon">${LoadingIcon}</span>`
|
? html`<span class="loading-icon">${LoadingIcon}</span>`
|
||||||
: nothing}
|
: nothing}
|
||||||
|
|||||||
@@ -52,6 +52,13 @@ export const linkedDocPopoverStyles = css`
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
max-width: 240px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.linked-doc-popover .group-title .group-title-text {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.linked-doc-popover .group-title .loading-icon {
|
.linked-doc-popover .group-title .loading-icon {
|
||||||
|
|||||||
Reference in New Issue
Block a user