Fix lint errors

This commit is contained in:
2026-03-20 17:30:49 +04:00
parent aa99e5d766
commit b39d92b7c4
2 changed files with 7 additions and 2 deletions

View File

@@ -39,7 +39,6 @@ export default class SearchBoxComponent extends Component {
this.searchTask.perform(); this.searchTask.perform();
} }
searchTask = task({ restartable: true }, async () => { searchTask = task({ restartable: true }, async () => {
await timeout(300); await timeout(300);

View File

@@ -75,6 +75,7 @@ body {
/* Layout */ /* Layout */
display: grid; display: grid;
/* Desktop: 1fr auto 1fr ensures the center element is absolutely centered */ /* Desktop: 1fr auto 1fr ensures the center element is absolutely centered */
grid-template-columns: 1fr auto 1fr; grid-template-columns: 1fr auto 1fr;
grid-template-areas: 'search chips user'; grid-template-areas: 'search chips user';
@@ -104,6 +105,7 @@ body {
display: flex; display: flex;
align-items: center; align-items: center;
grid-area: search; grid-area: search;
/* Ensure it sits at the start of its grid area */ /* Ensure it sits at the start of its grid area */
justify-self: start; justify-self: start;
width: 100%; width: 100%;
@@ -1262,12 +1264,15 @@ button.create-place {
.category-chips-scroll { .category-chips-scroll {
width: 100%; width: 100%;
overflow-x: auto; overflow-x: auto;
/* Add padding for shadows */ /* Add padding for shadows */
padding: 4px 0; padding: 4px 0;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
/* Hide scrollbar but keep functionality */ /* Hide scrollbar but keep functionality */
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE/Edge */ -ms-overflow-style: none; /* IE/Edge */
/* Remove top margin as spacing is handled by grid/layout */ /* Remove top margin as spacing is handled by grid/layout */
margin-top: 0; margin-top: 0;
} }
@@ -1279,6 +1284,7 @@ button.create-place {
.category-chips-container { .category-chips-container {
display: flex; display: flex;
gap: 8px; gap: 8px;
/* Padding on sides so first/last chip isn't flush with screen edge */ /* Padding on sides so first/last chip isn't flush with screen edge */
padding: 0 4px; padding: 0 4px;
width: max-content; /* Ensure it scrolls */ width: max-content; /* Ensure it scrolls */
@@ -1296,7 +1302,7 @@ button.create-place {
color: #333; color: #333;
cursor: pointer; cursor: pointer;
white-space: nowrap; white-space: nowrap;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
transition: background-color 0.2s; transition: background-color 0.2s;
} }