diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-02-21 21:36:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 21:36:53 +0800 |
commit | 1fcf96ad0166420cbdb013365ecae42e3537b42a (patch) | |
tree | 98ffceb52a082da7985f97dee42462a1805898f3 /services/pull/pull_test.go | |
parent | 9ebf6424eedce94b1f5ab3ff34b41198e51e36f8 (diff) | |
download | gitea-1fcf96ad0166420cbdb013365ecae42e3537b42a.tar.gz gitea-1fcf96ad0166420cbdb013365ecae42e3537b42a.zip |
Improve PR Review Box UI (#22986)
This PR follows:
* #22950
### Before
The Review Box has many problems:
* It doesn't work for small screens.
* It has an anonying animation which makes the UI laggy.
* It uses "custom dropdown menu" which is very difficult to fine tune.
* `$().toggle('visible')` is not a correct call
* jQuery just accepts any invalid `duration` argument:
`$().toggle('anyting')`
* The button is not a button.
<details>

</details>
### After
These problems are fixed, and eliminate many `!important` games.
<details>



</details>
And most dropdown icons still looks good:
<details>


</details>
Co-authored-by: delvh <leon@kske.dev>
Diffstat (limited to 'services/pull/pull_test.go')
0 files changed, 0 insertions, 0 deletions