Skip to content

Commit 84f884d

Browse files
committed
🎨 #8873
1 parent 66294c2 commit 84f884d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/protyle/render/av/kanban/render.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const getKanbanTitleHTML = (group: IAVView, counter: number) => {
2828
}
2929
// av__group-name 为第三方需求,本应用内没有使用,但不能移除 https://github.com/siyuan-note/siyuan/issues/15736
3030
return `<div class="av__group-title">
31-
<span class="av__group-name">${nameHTML}</span>
31+
<span class="av__group-name fn__ellipsis" style="white-space: nowrap;">${nameHTML}</span>
3232
${counter === 0 ? '<span class="fn__space"></span>' : `<span aria-label="${window.siyuan.languages.total}" data-position="north" class="av__group-counter ariaLabel">${counter}</span>`}
3333
<span class="fn__flex-1"></span>
3434
<span class="av__group-icon ariaLabel" data-type="av-add-top" data-position="north" aria-label="${window.siyuan.languages.newRow}"><svg><use xlink:href="#iconAdd"></use></svg></span>
@@ -193,12 +193,12 @@ export const renderKanban = async (options: {
193193
}
194194
const view: IAVGallery = data.view as IAVKanban;
195195
let bodyHTML = "";
196-
let isSelectGroup = true;
196+
let isSelectGroup = false;
197197
view.groups.forEach((group: IAVKanban) => {
198198
if (group.groupHidden === 0) {
199199
let selectBg = "";
200200
if (group.fillColBackgroundColor) {
201-
let color = ""
201+
let color = "";
202202
if (["mSelect", "select"].includes(group.groupValue.type)) {
203203
isSelectGroup = true;
204204
color = getComputedStyle(document.documentElement).getPropertyValue(`--b3-font-background${group.groupValue.mSelect[0].color}`);

0 commit comments

Comments
 (0)