Skip to content

Commit

Permalink
Remove containers and fix horizontal overflow
Browse files Browse the repository at this point in the history
Container padding moves the scrollbars away from the edge of the
screen
  • Loading branch information
tomodwyer committed Sep 5, 2024
1 parent b7b7f9d commit 46bbeca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion airlock/static/assets/file_browser/tree.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
height: calc(var(--tree-line-height) + 1px);
left: 0;
position: absolute;
width: calc(100% + 1rem);
width: 100%;
z-index: -2;
}

Expand Down
2 changes: 1 addition & 1 deletion airlock/templates/file_browser/request/dir.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{% endfragment %}


{% #card title=path_item.name container=True custom_button=buttons %}
{% #card title=path_item.name container=False custom_button=buttons %}
<form id="multiselect_form"
method="POST"
hx-post="{{ content_buttons.multiselect_withdraw.url }}"
Expand Down
2 changes: 1 addition & 1 deletion airlock/templates/file_browser/workspace/dir.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{% endfragment %}


{% #card title=path_item.name container=True custom_button=buttons %}
{% #card title=path_item.name container=False custom_button=buttons %}
{% if not path_item.children %}
This directory is empty
{% else %}
Expand Down

0 comments on commit 46bbeca

Please sign in to comment.