修复全屏时Preview无法滚动问题

pull/1359/head
地亚尔-IT 2023-08-30 08:07:45 +08:00 committed by GitHub
parent 643cc7bacf
commit a6e65152fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ html #layuicss-skincodecss{display:none; position: absolute; width:1989px;}
.layui-code-preview > .layui-code > .layui-code-title{display: none;} .layui-code-preview > .layui-code > .layui-code-title{display: none;}
.layui-code-preview .layui-code-item{display: none;} .layui-code-preview .layui-code-item{display: none;}
.layui-code-preview .layui-code-view > .layui-code-ol > li{} .layui-code-preview .layui-code-view > .layui-code-ol > li{}
.layui-code-item-preview{position: relative; padding: 16px;} .layui-code-item-preview{position: relative; padding: 16px;overflow-y: auto;}
.layui-code-item-preview > iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;} .layui-code-item-preview > iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;}
/* 工具栏 */ /* 工具栏 */
@ -57,4 +57,4 @@ html #layuicss-skincodecss{display:none; position: absolute; width:1989px;}
.layui-code-full .layui-code-item{width: 100% !important; border-width: 0 !important; border-top-width: 1px !important;} .layui-code-full .layui-code-item{width: 100% !important; border-width: 0 !important; border-top-width: 1px !important;}
.layui-code-full .layui-code-item, .layui-code-full .layui-code-item,
.layui-code-full .layui-code-ol, .layui-code-full .layui-code-ol,
.layui-code-full .layui-code-ul{height: calc(100vh - 51px) !important; box-sizing: border-box;} .layui-code-full .layui-code-ul{height: calc(100vh - 51px) !important; box-sizing: border-box;}