Skip to content

Commit

Permalink
Update quick modify to support Ctrl+Enter
Browse files Browse the repository at this point in the history
Signed-off-by: John Rayes <[email protected]>
  • Loading branch information
live627 committed Dec 28, 2023
1 parent 1737bf4 commit 3ba4ff5
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 135 deletions.
34 changes: 17 additions & 17 deletions Themes/default/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,12 @@ textarea {
.monospace, .bbc_code, .phpcode, pre {
font-family: "DejaVu Sans Mono", Menlo, Monaco, Consolas, monospace;
}

#quick_edit_body_container textarea,
#quickModifyForm,
#quickModifyForm label {
display: flex;
flex-direction: column;
gap: .5em;
}
.move_topic textarea,
dd textarea {
width: 100%;
Expand Down Expand Up @@ -524,13 +528,6 @@ strong[id^='child_list_']::after {
content: "]";
}

/* Posts and personal messages displayed throughout the forum. */
.post {
overflow: auto;
line-height: 1.4em;
padding: 1px 0;
}

/* Calendar colors for birthdays, events and holidays */
.birthday {
color: var(--birthday_txt_color);
Expand Down Expand Up @@ -1062,9 +1059,17 @@ a[class^="mobile_generic_menu_"] {

/* Styles for the standard button lists.
------------------------------------------------------- */
.buttonlist, .buttonrow, .pagelinks {
z-index: 100;
padding: 5px 0 5px 0;
.buttonlist, .buttonlistend, .buttonrow, .pagelinks, .pagesection {
align-items: baseline;
display: flex;
gap: .5em;
}
/* Items in mobile menu must be vertical. */
.popup_window .buttonlist {
flex-direction: column;
}
.buttonlistend {
justify-content: end;
}
.button, .quickbuttons > li > a, .inline_mod_check {
display: inline-block;
Expand Down Expand Up @@ -1495,11 +1500,6 @@ ul li.greeting {
width: 29ch;
}

.quickModifyMargin {
margin: 10px 0 5px 0;
padding-bottom: 5px;
}

/* Styles for edit event section
---------------------------------------------------- */
#post_event .roundframe {
Expand Down
Loading

0 comments on commit 3ba4ff5

Please sign in to comment.