fix(editor): adjust some ui style of embed card (#12055)

This commit is contained in:
L-Sun
2025-04-30 03:11:39 +00:00
parent d6f79a0c71
commit dcd303c89a
4 changed files with 12 additions and 8 deletions

View File

@@ -476,9 +476,6 @@ export const cardStyles = css`
width: ${EMBED_CARD_WIDTH.vertical}px;
height: ${EMBED_CARD_HEIGHT.vertical}px;
flex-direction: column-reverse;
margin-top: calc(
(${EMBED_CARD_HEIGHT.syncedDoc}px - ${EMBED_CARD_HEIGHT.vertical}px) / 2
);
.affine-embed-synced-doc-card-content {
width: 100%;