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

add padding in groups to be able to see the last item #58

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
enable_coverage :branch
add_filter "/test/"
add_group "Library", "/lib"
10.times { |i| add_group "Test #{i + 1}", "/lib" } if ENV["TEST_LONG_LIST_OF_GROUPS"]
end

SimpleCov.formatters = [
Expand Down
2 changes: 1 addition & 1 deletion views/main.erb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
</div>
<div class="supports-backdrop-blur:bg-white/60 fixed h-full w-28 overflow-y-auto border-r border-solid border-slate-200 bg-white/95 backdrop-blur transition-colors duration-500 dark:border-slate-50/[0.2] dark:bg-transparent">
<div class="flex w-full flex-col items-center">
<div class="w-full flex-1 space-y-1 p-2">
<div class="w-full flex-1 space-y-1 p-2 pb-20">
<div class="nav group flex w-full flex-col items-center rounded-md p-3 text-xs font-medium cursor-pointer bg-blue-700 text-slate-300" data-action="click->navigation#navigateEvent" data-index="All Files">
<svg class="h-6 w-6 group-hover:text-slate-300" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z" />
Expand Down