Skip to content

Commit c5c7c0b

Browse files
Narretzpetebacondarwin
authored andcommitted
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 5c3ff97 commit c5c7c0b

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)