Skip to content

Commit 0bd5938

Browse files
neonnwxiaoguang
andauthored
Center-aligning content of WebAuthN page (#21127)
<!-- Please check the following: 1. Make sure you are targeting the `main` branch, pull requests on release branches are only allowed for bug fixes. 2. Read contributing guidelines: https://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md 3. Describe what your pull request does and which issue you're targeting (if any) --> This attempts to correct #21126 , where the content of the page is not center-aligned. (Note: I think this contains the right commits - but, those other commits seem superfluous. I'm not sure I've made the pull request correctly. I don't often use the pull request pattern when working, opting to use the merge-request pattern instead for my workplace. If there are any issues, please let me know and I will try to correct them.) Co-authored-by: wxiaoguang <[email protected]>
1 parent 831e981 commit 0bd5938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/auth/webauthn.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{template "base/head" .}}
22
<div class="user signin webauthn-prompt">
33
<div class="ui middle centered very relaxed page grid">
4-
<div class="column">
4+
<div class="column center aligned">
55
<h3 class="ui top attached header">
66
{{.locale.Tr "twofa"}}
77
</h3>

0 commit comments

Comments
 (0)