Skip to content

Commit

Permalink
Fixed Project view .board-column height for tall screens. (go-gitea#2…
Browse files Browse the repository at this point in the history
…2108)

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
  • Loading branch information
gnat authored Dec 14, 2022
1 parent cdc4345 commit ae97197
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web_src/less/features/projects.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ae97197

Please sign in to comment.