Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 1c6dac1

Browse files
committed
chore(docs-app): improve layout when loading partials
By setting the current partial content to hidden, the current height of the window is maintained until the new content is loaded. This prevents flickering caused by the scrollbar (dis)appearing and the footer coming into view.
1 parent 7a5bfd9 commit 1c6dac1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/app/assets/css/docs.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,13 @@ ul.events > li {
653653
max-width: 100%;
654654
}
655655

656+
@media only screen and (min-width: 769px) {
657+
[ng-include="partialPath"].ng-hide {
658+
display: block !important;
659+
visibility: hidden;
660+
}
661+
}
662+
656663
@media only screen and (min-width: 769px) and (max-width: 991px) {
657664
.main-body-grid {
658665
margin-top: 160px;

0 commit comments

Comments
 (0)