mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
This commit is contained in:
parent
cf4e9f22ac
commit
b0691a41e8
7 changed files with 22 additions and 27 deletions
|
|
@ -207,13 +207,7 @@ ${cell.color ? `color:${cell.color};` : ""}">${renderCell(cell.value, rowIndex)}
|
|||
viewData = item;
|
||||
}
|
||||
});
|
||||
let avBackground = "--av-background:var(--b3-theme-background)";
|
||||
if (e.style.backgroundColor) {
|
||||
avBackground = "--av-background:" + e.style.backgroundColor;
|
||||
} else if (isInEmbedBlock(e)) {
|
||||
avBackground = "--av-background:var(--b3-theme-surface)";
|
||||
}
|
||||
e.firstElementChild.outerHTML = `<div class="av__container" style="${avBackground}">
|
||||
e.firstElementChild.outerHTML = `<div class="av__container">
|
||||
<div class="av__header">
|
||||
<div class="fn__flex av__views${isSearching || query ? " av__views--show" : ""}">
|
||||
<div class="layout-tab-bar fn__flex">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue