Skip to content
Open
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
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"globals": "^15.0.0",
"jsdom": "^26.0.0",
"postcss": "^8.4.38",
"prettier": "^3.1.1",
"prettier": "^3.5.3",
"prettier-plugin-svelte": "^3.2.6",
"prettier-plugin-tailwindcss": "^0.6.4",
"svelte": "^5.0.0",
Expand Down
33 changes: 23 additions & 10 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,34 @@
margin-left: 0.75rem;
}

.rtl .space-x-4 {
margin-left: 1rem;
.rtl .left-5 {
left: auto;
right: 1.25rem;
}

.rtl .space-x-reverse {
margin-right: 1rem;
.collapsible-list {
@apply flex flex-col;
}

.rtl .border-l-4 {
border-left-width: 0;
border-right-width: 4px;
.collapsible-list__item {
@apply mb-2 rounded-md border border-gray-300 p-2;
}

.rtl .left-5 {
left: auto;
right: 1.25rem;
@media (max-width: 768px) {
.collapsible-list__item {
@apply mb-1 p-1;
}
}

@media (hover: hover) {
.collapsible-list__item:hover {
@apply bg-gray-100;
}
}

@media (pointer: coarse) {
.collapsible-list__item {
@apply p-3;
}
}
}
6 changes: 3 additions & 3 deletions src/components/routes/ViewAllRoutesModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
{/if}

{#if routes.length > 0}
<div>
<div class="sticky top-0">
<div class="flex h-full flex-col">
<div class="sticky top-0 bg-white p-2 dark:bg-black">
<input
type="text"
placeholder={$t('search.search_for_routes')}
Expand All @@ -92,7 +92,7 @@
</svg>
</div>

<div>
<div class="flex-1 overflow-y-auto p-2">
{#if filteredRoutes.length > 0}
{#each filteredRoutes as route}
<RouteItem {route} {handleModalRouteClick} />
Expand Down