Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Responsive issue in Docs pages #360

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: responsive bugs on some pages under docs section
Signed-off-by: Saurav Upadhyay <sauravup041103@gmail.com>
  • Loading branch information
upsaurav12 committed Aug 26, 2024
commit 828013a5d397ce46a59e7461f53b5b0a52351347
3 changes: 1 addition & 2 deletions docs/_includes/footer.html
Original file line number Diff line number Diff line change
@@ -17,8 +17,7 @@
{{ link.name }}</a></li>
{% endfor %}
</ul>
{% endfor %}

{% endfor %}
</div>
<div class="footer-columns2">
{% for column in site.data.footer %}
17 changes: 17 additions & 0 deletions docs/_sass/getnighthawk.scss
Original file line number Diff line number Diff line change
@@ -5019,6 +5019,7 @@ div.globalFooterCard.card-environment {
.docs-section{
position: relative;
top: 6rem;
right: 6rem;
}

.rooted-pillar {
@@ -5859,10 +5860,26 @@ div.globalFooterCard.card-environment {
.section-content {
padding-left: 40px !important;
margin-top: 8rem !important;
margin-right: 2rem !important;
margin-bottom: 50px !important;
min-height: 100vh;
}

@media (max-width: 1275px) {
.section-content{
border: 1px solid;
margin-right: 7rem !important;
}
}

@media (max-width: 745px) {
.section-content{
border: 1px solid;
margin-right: 2rem !important;
width: 90% !important;
}
}

.doc-container {
padding: 10px;
}
2 changes: 1 addition & 1 deletion docs/assets/css/sidebar_doc.css
Original file line number Diff line number Diff line change
@@ -129,7 +129,7 @@
}
}

@media (max-width: 575px) {
@media (max-width: 1275px) {
.float-button {
visibility: visible;
}