File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 49
49
</form>
50
50
</div>
51
51
52
+ <div id="test-modal-form-5" class="ui mini modal">
53
+ <div class="header">Form dialog (layout 5)</div>
54
+ <div class="content">
55
+ <form method="post">
56
+ <div class="ui input tw-w-full"><input name="user_input"></div>
57
+ {{template "base/modal_actions_confirm" (dict "ModalButtonTypes" "confirm")}}
58
+ </form>
59
+ </div>
60
+ </div>
61
+
52
62
<div class="ui g-modal-confirm modal" id="test-modal-default">
53
63
<div class="header">{{svg "octicon-file"}} Default dialog <span>title</span></div>
54
64
<div class="content">
Original file line number Diff line number Diff line change @@ -63,18 +63,16 @@ These inconsistent layouts should be refactored to simple ones.
63
63
background : var (--color-secondary-bg );
64
64
border-color : var (--color-secondary );
65
65
padding : 1rem ;
66
+ text-align : right;
66
67
border-radius : 0 0 var (--border-radius ) var (--border-radius );
67
68
}
68
69
70
+ .ui .modal .content > form > .actions ,
69
71
.ui .modal .content > .actions {
70
72
padding-top : 1em ; /* if the "actions" is in the "content", some paddings are already added by the "content" */
71
73
text-align : right;
72
74
}
73
75
74
- .ui .modal .actions {
75
- text-align : right;
76
- }
77
-
78
76
/* positive/negative action buttons */
79
77
.ui .modal .actions > .ui .button {
80
78
display : inline-flex;
You can’t perform that action at this time.
0 commit comments