There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: popover obscured in kanban state, fixed #589
qishaoxuan6971e95dad48
diff --git a/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardContext.tsx b/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardContext.tsxindex 4d3f311cb9..cb313d14ee 100644--- a/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardContext.tsx+++ b/libs/components/editor-blocks/src/blocks/group/scene-kanban/CardContext.tsx@@ -43,17 +43,24 @@ export const CardContext = (props: Props) => {const { id, block } = item;return (- <div key={id} style={{ cursor: 'pointer' }}>+ <StyledCardContainer key={id}><CardItemPanelWrapperitem={item}active={activeId === id}><CardItem id={id} block={block} /></CardItemPanelWrapper>- </div>+ </StyledCardContainer>);})}<AddCard group={group} /></>);};++const StyledCardContainer = styled('div')`+ cursor: pointer;+ &:focus-within {+ z-index: 1;+ }+`;