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
@@ -15,7 +15,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;
}
@@ -23,7 +22,6 @@ export const styles = css`
.affine-embed-youtube-video {
flex-grow: 1;
width: 100%;
opacity: var(--add, 1);
}
.affine-embed-youtube-video img,
@@ -32,7 +30,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-youtube-video-iframe-container {
@@ -43,7 +41,7 @@ export const styles = css`
.affine-embed-youtube-video-iframe-container > iframe {
width: 100%;
height: 100%;
border-radius: 4px 4px var(--1, 0px) var(--1, 0px);
border-radius: 4px;
}
.affine-embed-youtube-video-iframe-overlay {
@@ -63,8 +61,6 @@ export const styles = css`
flex-direction: column;
width: 100%;
height: fit-content;
border-radius: var(--1, 0px);
opacity: var(--add, 1);
}
.affine-embed-youtube-content-header {
@@ -74,9 +70,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-youtube-content-title-icon {