Skip to content

Commit

Permalink
feat: scrollbar improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Oct 27, 2023
1 parent b002d9b commit d70d1f2
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 225 deletions.
211 changes: 0 additions & 211 deletions src/unfold/static/unfold/css/simplebar.css

This file was deleted.

10 changes: 0 additions & 10 deletions src/unfold/static/unfold/js/simplebar.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/unfold/templates/unfold/change_list_filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<label for="show-filters" id="changelist-filter-close" class="flex-grow"></label>

<div class="bg-white flex mr-4 my-4 overflow-hidden rounded shadow-sm w-96 dark:bg-gray-800">
<div class="flex-grow h-full overflow-auto relative" data-simplebar>
<div class="flex-grow h-full overflow-auto relative">
<h3 class="border-b flex font-medium mb-6 px-6 py-4 text-gray-700 text-sm dark:text-gray-200 dark:border-gray-700">
{% trans "Filter results" %}

Expand Down
2 changes: 1 addition & 1 deletion src/unfold/templates/unfold/helpers/app_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h3 class="font-medium my-3 px-6 text-gray-900 text-sm first:mt-0 dark:text-gray
<div class="absolute bottom-0 left-72 right-0 top-0 z-50 peer-checked:block" x-cloak x-show="openAllApplications">
<label class="absolute bg-gray-900 bg-opacity-80 backdrop-blur-sm bottom-0 left-0 right-0 top-0 z-10 w-screen" for="show-applications"></label>

<div class="bg-white flex flex-col h-full overflow-x-hidden overflow-y-auto py-5 px-8 relative text-sm w-80 z-20 dark:bg-gray-900 dark:border-r dark:border-gray-800" data-simplebar x-on:click.outside="openAllApplications = false" x-on:keydown.escape.window="openAllApplications = false">
<div class="bg-white flex flex-col h-full overflow-x-hidden overflow-y-auto py-5 px-8 relative text-sm w-80 z-20 dark:bg-gray-900 dark:border-r dark:border-gray-800" x-on:click.outside="openAllApplications = false" x-on:keydown.escape.window="openAllApplications = false">
{% for app in app_list %}
<div class="mb-6 last:mb-0">
<h3 class="mb-4 font-medium overflow-hidden text-ellipsis text-gray-700 whitespace-nowrap dark:text-gray-200">
Expand Down
2 changes: 0 additions & 2 deletions src/unfold/templates/unfold/layouts/skeleton.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
{% endfor %}

<link href="{% static 'unfold/css/styles.css' %}" rel="stylesheet">
<link href="{% static 'unfold/css/simplebar.css' %}" rel="stylesheet">

<script src="{% static 'unfold/js/simplebar.js' %}"></script>
<script src="{% static 'unfold/js/alpine.persist.js' %}" defer></script>
<script src="{% static 'unfold/js/alpine.js' %}" defer></script>
<script src="{% static 'unfold/js/htmx.js' %}"></script>
Expand Down

0 comments on commit d70d1f2

Please sign in to comment.