Skip to content

Commit e00522b

Browse files
authored
fix: add min-height to designer-area.has-bg to prevent fields being hidden
1 parent d34b47a commit e00522b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QSL_card_designer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
.sidebar { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 1px 1px 4px #ddd; min-width: 260px;}
1212
.designer { background: #fff; flex: 1; position: relative; padding: 20px; border-radius: 8px; box-shadow: 1px 1px 4px #ddd; }
1313
.designer-area { position: relative; width: 500px; height: 320px; background: #eee; border: 2px dashed #bbb; border-radius: 8px; overflow: hidden; margin: 0 auto; }
14-
.designer-area.has-bg { width: auto; height: auto; }
14+
.designer-area.has-bg { width: auto; height: auto; min-height: 320px}
1515
.bg-image-input { margin-bottom: 14px;
1616
#designerBg {position: absolute;top:0;left:0;width:100%;height:100%;z-index:0;object-fit:cover;}
1717
.field { position:absolute; min-width: 48px; min-height: 21px; background: transparent; border:1px solid #888; border-radius:4px; padding:0px; cursor:move; -webkit-user-select: none; user-select: none; box-sizing:border-box; overflow:visible; text-align:center; display:flex; align-items:center; justify-content:center;}

0 commit comments

Comments
 (0)