Skip to content

Commit 0873089

Browse files
author
minjk-bl
committed
style fix
1 parent 561630c commit 0873089

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

css/common/frameEditor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
transform: translate(-50%, -50%);
150150
min-width: 400px;
151151
min-height: 150px;
152-
width: 30%;
152+
width: fit-content;
153153
height: fit-content;
154154
background-color: white;
155155
z-index: 200;

src/common/vpFrameEditor.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ define([
639639
FrameEditor.prototype.renderRenamePage = function() {
640640
var content = new sb.StringBuilder();
641641
content.appendLine('<table>');
642+
content.appendLine('<colgroup><col width="100px"><col width="*"></colgroup>');
642643
this.state.selected.forEach((col, idx) => {
643644
content.appendLine('<tr>');
644645
content.appendFormatLine('<th><label>{0}</label></th>', col.label);
@@ -680,6 +681,7 @@ define([
680681
FrameEditor.prototype.renderAsType = function() {
681682
var astypeList = this.astypeList;
682683
var content = new sb.StringBuilder();
684+
content.appendFormatLine('<div class="{0}">', 'vp-popup-astype');
683685
content.appendFormatLine('<table class="{0}">', 'vp-popup-astype-table');
684686
content.appendLine('<colgroup><col width="140px"><col width="80px"><col width="*"></colgroup>');
685687
content.appendFormatLine('<thead style="height: 30px"><th>{0}</th><th>{1}</th><th class="{2}">{3}</th></thead>'
@@ -698,6 +700,7 @@ define([
698700
content.appendLine('</tr>');
699701
});
700702
content.appendLine('</tbody></table>');
703+
content.append('</div>');
701704
return content.toString();
702705
}
703706

0 commit comments

Comments
 (0)