Absolute positioning of iphone frame and rendering view
This commit is contained in:
@@ -649,8 +649,24 @@ div.CodeMirror-scroll {
|
||||
}
|
||||
|
||||
iframe.iphone {
|
||||
width: 401px;
|
||||
width: 280px;
|
||||
height: 500px;
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
right: 25px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
// To adjust right margin, negative values bring the image closer to the edge of the screen
|
||||
.iphone-position {
|
||||
position: absolute;
|
||||
top: -50px;
|
||||
right: -205px;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.courseware-height {
|
||||
min-height: 650px;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user