Skip to content

Commit

Permalink
fix: Remove scroll on overflow (pythonph#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
zorexsalvo authored Oct 23, 2023
1 parent f266191 commit 2be7ca0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/static/css/pycon.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.overflow-y-hidden {
overflow-y: hidden;
}
1 change: 1 addition & 0 deletions config/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

{# Global stylesheets #}
<link rel="stylesheet" href="{% static 'css/styles.css' %}" />
<link rel="stylesheet" href="{% static 'css/pycon.css' %}" />
{% block extra_css %}
{# Override this in templates to add extra stylesheets #}
{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion pyconph/home/templates/home/home_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</div>
</div>
<!-- What is PyCon? -->
<div class="relative pb-150 md:pb-300 overflow-x-hidden">
<div class="relative pb-150 md:pb-300 overflow-x-hidden overflow-y-hidden">
<div class="max-w-975 mx-auto relative px-25 lg:px-0 z-10">
<div class="pb-50">
<p
Expand Down

0 comments on commit 2be7ca0

Please sign in to comment.