mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-09 13:15:51 +08:00
1d4ee1e383
To close: [BS-2665](https://linear.app/affine-design/issue/BS-2665/iframe-embed-block-edgeless-mode-支持) [BS-2666](https://linear.app/affine-design/issue/BS-2666/iframe-embed-block-edgeless-toolbar) [BS-2667](https://linear.app/affine-design/issue/BS-2667/iframe-embed-block-edgeless-mode-拖拽调整支持) [BS-2789](https://linear.app/affine-design/issue/BS-2789/iframe-embed-block-edgeless-block-component)
30 lines
570 B
TypeScript
30 lines
570 B
TypeScript
import { css } from 'lit';
|
|
|
|
export const embedIframeBlockStyles = css`
|
|
.affine-embed-iframe-block-container {
|
|
display: flex;
|
|
width: 100%;
|
|
border-radius: 8px;
|
|
user-select: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.affine-embed-iframe-block-container.in-surface {
|
|
height: 100%;
|
|
}
|
|
|
|
.affine-embed-iframe-block-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: none;
|
|
}
|
|
.affine-embed-iframe-block-overlay.show {
|
|
display: block;
|
|
}
|
|
`;
|