Revert overflow: overlay (revert #21850) (#25231) (#25239)

Backport #25231 by @wxiaoguang

It causes not only one issue like #25221 (the footer width was also
affected by that change and was fixed some time ago)

The problem of "overflow: overlay" (#21850) is:

* It's not widely supported and is non-standard
https://caniuse.com/css-overflow-overlay
* It's not widely tested in Gitea (some standard layout like `ui
container + ui grid` may break it).
* The benefit seems smaller than the problems it brings.

So, I think it is good to revert it.

----

Let's leave enough time for testing and reviewing.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
Giteabot
2023-06-13 19:45:45 +00:00
committed by GitHub
co-authored by wxiaoguang silverwind
parent fa28d0e706
commit 22948048b2
5 changed files with 7345 additions and 16 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
audit=false
fund=false
update-notifier=false
package-lock=false
package-lock=true
save-exact=true
lockfile-version=3
optional=false
@@ -8,3 +8,4 @@
@variationPopupTooltip: false;
@linkHoverUnderline: underline;
@variationButtonSocial: false;
@pageOverflowX: visible;
+1 -1
View File
@@ -24658,7 +24658,7 @@ html {
body {
margin: 0;
padding: 0;
overflow-x: hidden;
overflow-x: visible;
min-width: 320px;
background: #FFFFFF;
font-family: var(--fonts-regular);
+7337
View File
File diff suppressed because it is too large Load Diff