diff options
author | Nathaniel Sabanski <sabanski.n@gmail.com> | 2022-12-14 13:14:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 21:14:50 +0000 |
commit | ae971974048aef78f67e3ffe16c9ff0537f27493 (patch) | |
tree | 3ddcfac43628d3b47885ad2f6223f5879cb45fc3 | |
parent | cdc43454a49f97b663f885e18d0adc12253597a3 (diff) | |
download | gitea-ae971974048aef78f67e3ffe16c9ff0537f27493.tar.gz gitea-ae971974048aef78f67e3ffe16c9ff0537f27493.zip |
Fixed Project view .board-column height for tall screens. (#22108)
This bug occurs because we are calculating `.board-column` height
strictly off of `vh`, when the layout header is of static height.
BEFORE
https://user-images.githubusercontent.com/24665/206991060-372c24e3-986e-4fc6-9fc8-aab8b4ef09bb.mp4
AFTER
https://user-images.githubusercontent.com/24665/206991070-91b7cbab-d807-4016-8696-e43bdaf8a7ff.mp4
-rw-r--r-- | web_src/less/features/projects.less | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/less/features/projects.less b/web_src/less/features/projects.less index 21514688b6..b0f674060a 100644 --- a/web_src/less/features/projects.less +++ b/web_src/less/features/projects.less @@ -12,7 +12,8 @@ margin: 0 .5rem !important; padding: .5rem !important; width: 320px; - height: 60vh; + height: calc(100vh - 450px); + min-height: 60vh; overflow-y: scroll; flex: 0 0 auto; overflow: visible; |