summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-09-12 01:06:05 +0800
committerGitHub <noreply@github.com>2023-09-11 17:06:05 +0000
commit1875362383eee4dde08376591495584313c3a39f (patch)
tree5c88c7735736b39475a04f3c969f26c017de91c5 /web_src
parentebff0513dbe8abd2c9807789c006f41d002416b5 (diff)
downloadgitea-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. ![image](https://github.com/go-gitea/gitea/assets/2114189/9f05ecc3-0a3d-4612-85e0-da60f7a45d2e) ![image](https://github.com/go-gitea/gitea/assets/2114189/9133808c-bd89-4265-99c5-83b986bd266f)
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/modules/modal.css4
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;