Skip to content

Commit 9ab3bc6

Browse files
authored
fix: fix content width on pages without much content (#1253)
"Solves" misalignment on some pages with too little content. Before: ![obrazek](https://github.com/user-attachments/assets/d226837a-288d-4e9e-bf1d-9db4134d5aba) After: https://github.com/user-attachments/assets/264e22f9-b073-4140-ab12-a9324f46ee70 --- The issue persists on mid-size desktop (laptop) screens—the fixed-width styling can only be applied on large enough displays; otherwise, the content gets obscured on other pages with actual content. The moving sidebar is caused by not having enough content (vertically).
1 parent b26432d commit 9ab3bc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apify-docs-theme/src/theme/custom.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ html[data-theme="dark"] .DocSearch-Button .DocSearch-Search-Icon {
445445
.main-wrapper > div {
446446
max-width: var(--max-layout-width);
447447
margin: auto;
448+
width: 100%;
448449
}
449450

450451
@media (max-width: 960px) {

0 commit comments

Comments
 (0)