mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(editor): disable iframe border in code block preview (#12398)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated the HTML preview to remove the border around the preview iframe for a cleaner appearance. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -48,6 +48,7 @@ export class HTMLPreview extends SignalWatcher(WithDisposable(LitElement)) {
|
||||
.html-preview-iframe {
|
||||
width: 100%;
|
||||
height: 544px;
|
||||
border: none;
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user