Skip to content

Commit

Permalink
Left align the input labels for the link account page (go-gitea#29255)
Browse files Browse the repository at this point in the history
In a previous [PR](go-gitea#28753) we
moved the labels to be above the inputs. The PR ensures that the
alignment is also on both tabs of the link account page
(`/user/link_account`).

Before
<img width="1094" alt="before"
src="https://github.com/go-gitea/gitea/assets/6152817/ac1e86bd-c4d6-4e45-87d1-87bb8a736149">

After
<img width="1094" alt="after"
src="https://github.com/go-gitea/gitea/assets/6152817/1b5fc109-f4d2-43ee-b924-0a9e53a0e391">

---------

Co-authored-by: rafh <[email protected]>
  • Loading branch information
2 people authored and silverwind committed Feb 20, 2024
1 parent b6e6ab6 commit dd2c326
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions web_src/css/form.css
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ textarea:focus,
.user.activate form,
.user.forgot.password form,
.user.reset.password form,
.user.link-account form,
.user.signup form {
margin: auto;
width: 700px !important;
Expand Down Expand Up @@ -277,7 +276,6 @@ textarea:focus,
.user.activate form .inline.field > label,
.user.forgot.password form .inline.field > label,
.user.reset.password form .inline.field > label,
.user.link-account form .inline.field > label,
.user.signup form .inline.field > label {
text-align: right;
width: 250px !important;
Expand Down

0 comments on commit dd2c326

Please sign in to comment.