File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 4949 </form>
5050 </div>
5151
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+
5262 <div class="ui g-modal-confirm modal" id="test-modal-default">
5363 <div class="header">{{svg "octicon-file"}} Default dialog <span>title</span></div>
5464 <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.
6363 background : var (--color-secondary-bg );
6464 border-color : var (--color-secondary );
6565 padding : 1rem ;
66+ text-align : right;
6667 border-radius : 0 0 var (--border-radius ) var (--border-radius );
6768}
6869
70+ .ui .modal .content > form > .actions ,
6971.ui .modal .content > .actions {
7072 padding-top : 1em ; /* if the "actions" is in the "content", some paddings are already added by the "content" */
7173 text-align : right;
7274}
7375
74- .ui .modal .actions {
75- text-align : right;
76- }
77-
7876/* positive/negative action buttons */
7977.ui .modal .actions > .ui .button {
8078 display : inline-flex;
You can’t perform that action at this time.
0 commit comments