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