fix: iframe fills frame area to remove top black gap
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+8
-5
@@ -118,15 +118,16 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.frame-wrap {
|
.frame-wrap {
|
||||||
|
position: relative;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
min-height: 0;
|
||||||
background: #0a0e12;
|
background: #0a0e12;
|
||||||
}
|
}
|
||||||
|
|
||||||
.frame-placeholder {
|
.frame-placeholder {
|
||||||
flex: 1;
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -135,10 +136,12 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.frame-wrap iframe {
|
.frame-wrap iframe {
|
||||||
flex: 1;
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
border: none;
|
border: none;
|
||||||
background: #fff;
|
background: #0a0e12;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 登录页 */
|
/* 登录页 */
|
||||||
|
|||||||
Reference in New Issue
Block a user