mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-30 00:29:46 +08:00
fix(editor): remove unnecessary css styles (#11885)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user