Skip to content

Commit

Permalink
fix(blocks): the width of the card view is not fully filled (#8988)
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Sun committed Dec 16, 2024
1 parent 8f17863 commit b9a9b9d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const styles = css`
}
.affine-embed-linked-doc-block:not(.in-canvas) {
max-width: 100%;
width: 100%;
min-width: calc(min(${EMBED_CARD_MIN_WIDTH}px, 100%));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"flavour": "affine:edgeless-text",
"version": 1,
"props": {
"xywh": "[-25,-25,799.0093994140625,154]",
"xywh": "[-25,-25,497,154]",
"index": "a1",
"lockedBySelf": false,
"color": "--affine-palette-line-blue",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"flavour": "affine:edgeless-text",
"version": 1,
"props": {
"xywh": "[-25,-25,452.4000244140625,154]",
"xywh": "[-25,-25,452,154]",
"index": "a1",
"lockedBySelf": false,
"color": "--affine-palette-line-blue",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"flavour": "affine:edgeless-text",
"version": 1,
"props": {
"xywh": "[-25,-25,754,154]",
"xywh": "[-25,-25,452,154]",
"index": "a1",
"lockedBySelf": false,
"color": "--affine-palette-line-blue",
Expand Down

0 comments on commit b9a9b9d

Please sign in to comment.