diff options
author | silverwind <me@silverwind.io> | 2024-04-21 22:24:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-21 20:24:56 +0000 |
commit | 1b1b8500aea0a17e999093e65b573ce54ae080ae (patch) | |
tree | 9e73063457564c985dabba9c13f1f19dfa0a3b3c /web_src | |
parent | 9de443ced2c328d9b58a5e144a765f402aab859d (diff) | |
download | gitea-1b1b8500aea0a17e999093e65b573ce54ae080ae.tar.gz gitea-1b1b8500aea0a17e999093e65b573ce54ae080ae.zip |
Fix flash on dashboard (#30572)
Fixes https://github.com/go-gitea/gitea/issues/30566, regression from
https://github.com/go-gitea/gitea/pull/30214.
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/base.css | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 831044756f..0dae25506a 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -501,6 +501,12 @@ img.ui.avatar, margin-top: calc(var(--page-spacing) - 1rem); } +/* add horizontal margin to elements that are outside top-level of .flex-container or .ui.container */ +.page-content > .flash-message { + margin-left: var(--page-margin-x); + margin-right: var(--page-margin-x); +} + .ui.form .fields.error .field textarea, .ui.form .fields.error .field select, .ui.form .fields.error .field input:not([type]), |