Skip to content

Commit 3ba4ff5

Browse files
committed
Update quick modify to support Ctrl+Enter
Signed-off-by: John Rayes <live627@gmail.com>
1 parent 1737bf4 commit 3ba4ff5

2 files changed

Lines changed: 157 additions & 135 deletions

File tree

Themes/default/css/index.css

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,12 @@ textarea {
7474
.monospace, .bbc_code, .phpcode, pre {
7575
font-family: "DejaVu Sans Mono", Menlo, Monaco, Consolas, monospace;
7676
}
77-
78-
#quick_edit_body_container textarea,
77+
#quickModifyForm,
78+
#quickModifyForm label {
79+
display: flex;
80+
flex-direction: column;
81+
gap: .5em;
82+
}
7983
.move_topic textarea,
8084
dd textarea {
8185
width: 100%;
@@ -524,13 +528,6 @@ strong[id^='child_list_']::after {
524528
content: "]";
525529
}
526530

527-
/* Posts and personal messages displayed throughout the forum. */
528-
.post {
529-
overflow: auto;
530-
line-height: 1.4em;
531-
padding: 1px 0;
532-
}
533-
534531
/* Calendar colors for birthdays, events and holidays */
535532
.birthday {
536533
color: var(--birthday_txt_color);
@@ -1062,9 +1059,17 @@ a[class^="mobile_generic_menu_"] {
10621059

10631060
/* Styles for the standard button lists.
10641061
------------------------------------------------------- */
1065-
.buttonlist, .buttonrow, .pagelinks {
1066-
z-index: 100;
1067-
padding: 5px 0 5px 0;
1062+
.buttonlist, .buttonlistend, .buttonrow, .pagelinks, .pagesection {
1063+
align-items: baseline;
1064+
display: flex;
1065+
gap: .5em;
1066+
}
1067+
/* Items in mobile menu must be vertical. */
1068+
.popup_window .buttonlist {
1069+
flex-direction: column;
1070+
}
1071+
.buttonlistend {
1072+
justify-content: end;
10681073
}
10691074
.button, .quickbuttons > li > a, .inline_mod_check {
10701075
display: inline-block;
@@ -1495,11 +1500,6 @@ ul li.greeting {
14951500
width: 29ch;
14961501
}
14971502

1498-
.quickModifyMargin {
1499-
margin: 10px 0 5px 0;
1500-
padding-bottom: 5px;
1501-
}
1502-
15031503
/* Styles for edit event section
15041504
---------------------------------------------------- */
15051505
#post_event .roundframe {

0 commit comments

Comments
 (0)