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

Commit 18263f1

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 daa47e3 commit 18263f1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/app/assets/css/docs.css

+7
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)