更新页面效果
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
- 前台 PhotoGallery 按 page.borderStyle 套用
|
||||
- 后台 AdminEditor 预览复用同一套类
|
||||
结构约定:<div class="gf-frame gf-xxx"><img/></div>
|
||||
gf-frame 负责定位与裁切,gf-xxx 负责边框/卡纸/投影
|
||||
gf-frame 只负责裁切,gf-xxx 负责边框/卡纸/投影
|
||||
注意:绝不能在此设置 position/width/height —— 本文件在
|
||||
Tailwind 工具类之后加载,会覆盖元素上的 absolute/尺寸工具类
|
||||
(position:relative 曾把 overlap 版的 absolute 静默冲掉)
|
||||
============================================================ */
|
||||
.gf-frame {
|
||||
position: relative;
|
||||
background: #fff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user