chore(editor): update github block ui (#11690)

Close [BS-2651](https://linear.app/affine-design/issue/BS-2651/github-embed-block的样式修复)
This commit is contained in:
L-Sun
2025-04-15 04:14:59 +00:00
parent 84ff54f9d7
commit 6f35021f22
2 changed files with 8 additions and 5 deletions
@@ -14,6 +14,7 @@ export const styles = css`
opacity: var(--add, 1);
background: var(--affine-background-primary-color);
user-select: none;
overflow: hidden;
}
.affine-embed-github-content {
@@ -275,7 +276,7 @@ export const styles = css`
}
.affine-embed-github-block.vertical {
flex-direction: column;
flex-direction: column-reverse;
.affine-embed-github-content {
width: 100%;
@@ -383,7 +384,8 @@ export const styles = css`
.affine-embed-github-content {
width: 100%;
}
.affine-embed-github-banner {
.affine-embed-github-block:not(.edgeless) .affine-embed-github-banner {
display: none;
}
}