diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-09-12 01:06:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-11 17:06:05 +0000 |
commit | 1875362383eee4dde08376591495584313c3a39f (patch) | |
tree | 5c88c7735736b39475a04f3c969f26c017de91c5 /web_src | |
parent | ebff0513dbe8abd2c9807789c006f41d002416b5 (diff) | |
download | gitea-1875362383eee4dde08376591495584313c3a39f.tar.gz gitea-1875362383eee4dde08376591495584313c3a39f.zip |
Fix "delete" modal dialog for issue/PR (#27015)
Close #27012
By the way, rename the single-word ID to a long ID.


Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/modules/modal.css | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web_src/css/modules/modal.css b/web_src/css/modules/modal.css index 31b0b5d6b9..96bc8be898 100644 --- a/web_src/css/modules/modal.css +++ b/web_src/css/modules/modal.css @@ -36,6 +36,7 @@ However, Gitea uses the following layouts: * <div .modal><div .content><div .actions/></div></div> * <div .modal><form><div .content/><div .actions/></form></div> * <div .modal><div .content><form><div .actions/></form></div></div> +* <div .modal><div .content></div><form><div .actions/></form></div> * ... These inconsistent layouts should be refactored to simple ones. */ @@ -47,7 +48,8 @@ These inconsistent layouts should be refactored to simple ones. } .ui.modal > .actions, -.ui.modal .content + .actions { +.ui.modal .content + .actions, +.ui.modal .content + form > .actions { background: var(--color-secondary-bg); border-color: var(--color-secondary); padding: 1rem; |