fix(editor): remove unnecessary css styles (#11885)

This commit is contained in:
fundon
2025-04-22 10:48:11 +00:00
parent ab2d0b5485
commit 4fd468c46f
10 changed files with 11 additions and 77 deletions
@@ -14,7 +14,6 @@ export const styles = css`
border-radius: 8px;
border: 1px solid var(--affine-background-tertiary-color);
opacity: var(--add, 1);
background: var(--affine-background-primary-color);
user-select: none;
}
@@ -22,7 +21,6 @@ export const styles = css`
.affine-embed-loom-video {
flex-grow: 1;
width: 100%;
opacity: var(--add, 1);
}
.affine-embed-loom-video img,
@@ -31,7 +29,7 @@ export const styles = css`
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px 4px var(--1, 0px) var(--1, 0px);
border-radius: 4px;
}
.affine-embed-loom-video-iframe-container {
@@ -42,7 +40,7 @@ export const styles = css`
.affine-embed-loom-video-iframe-container > iframe {
width: 100%;
height: 100%;
border-radius: 4px 4px var(--1, 0px) var(--1, 0px);
border-radius: 4px;
}
.affine-embed-loom-video-iframe-overlay {
@@ -62,8 +60,6 @@ export const styles = css`
flex-direction: column;
width: 100%;
height: fit-content;
border-radius: var(--1, 0px);
opacity: var(--add, 1);
}
.affine-embed-loom-content-header {
@@ -73,9 +69,6 @@ export const styles = css`
align-items: center;
align-self: stretch;
padding: var(--1, 0px);
border-radius: var(--1, 0px);
opacity: var(--add, 1);
}
.affine-embed-loom-content-title-icon {