mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove scroll from preview auto as its in iframe
This commit is contained in:
parent
2acbad1bb0
commit
47179313eb
12
admin/client/dist/styles/bundle.css
vendored
12
admin/client/dist/styles/bundle.css
vendored
@ -12603,33 +12603,33 @@ li.class-ErrorPage>a .jstree-pageicon{
|
||||
width:50px;
|
||||
}
|
||||
|
||||
.cms-preview .panel--scrollable{
|
||||
.cms-preview .panel{
|
||||
position:relative;
|
||||
height:calc(100vh - 53px);
|
||||
}
|
||||
|
||||
.cms-preview .panel--scrollable .preview-device-outer{
|
||||
.cms-preview .panel .preview-device-outer{
|
||||
height:100%;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.cms-preview .panel--scrollable .preview-device-inner{
|
||||
.cms-preview .panel .preview-device-inner{
|
||||
box-sizing:border-box;
|
||||
width:100%;
|
||||
height:100%;
|
||||
background-color:#fff;
|
||||
}
|
||||
|
||||
.cms-preview .panel--scrollable .preview-device-inner iframe{
|
||||
.cms-preview .panel .preview-device-inner iframe{
|
||||
height:100%;
|
||||
overflow-y:auto;
|
||||
width:100%;
|
||||
border:0;
|
||||
}
|
||||
|
||||
.cms-preview.desktop .panel--scrollable,.cms-preview.mobile .panel--scrollable,.cms-preview.tablet .panel--scrollable{
|
||||
.cms-preview.desktop .panel,.cms-preview.mobile .panel,.cms-preview.tablet .panel{
|
||||
background-color:#f6f7f8;
|
||||
overflow-x:auto;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
.cms-preview.desktop .preview__device,.cms-preview.mobile .preview__device,.cms-preview.tablet .preview__device{
|
||||
|
@ -269,7 +269,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.panel--scrollable {
|
||||
.panel {
|
||||
position: relative;
|
||||
height: calc(100vh - #{$toolbar-total-height});
|
||||
|
||||
@ -296,9 +296,9 @@
|
||||
&.mobile,
|
||||
&.tablet,
|
||||
&.desktop {
|
||||
.panel--scrollable {
|
||||
.panel {
|
||||
background-color: $tab-panel-texture-color; /* cover website preview icon */
|
||||
overflow-x: auto;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.preview__device {
|
||||
|
Loading…
Reference in New Issue
Block a user