Skip to content

Commit

Permalink
Fixed history box on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
TGCrystal committed Jan 14, 2022
1 parent 1ebe161 commit 965bc83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/site/shared/containers/HistoryBox/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $historybox-width: 250px;
margin-bottom: $itemnav-height;
left: 0px;

height: 50%;
max-height: calc((40vh) + (#{$historybox-header-height}));
}

& > div:first-child {
Expand Down Expand Up @@ -64,7 +64,6 @@ $historybox-width: 250px;
@media (max-width: 768px) and (orientation:portrait) {
margin-bottom: 0px;
left: 0px;
height: $historybox-height;
}
}
}
Expand Down

0 comments on commit 965bc83

Please sign in to comment.