chore: mobile padding breakpoints
Changed files
MODIFIED
src/pages/index.jsx
MODIFIED
src/pages/index.jsx
@@ -9,7 +9,13 @@ * @type {ReturnType<typeof microsearch>}*/let searcher-const sites$ = signal([])+const allSites$ = signal([])++const searchTerm = signal('')++const sites$ = computed(() => {+ return !searchTerm.value.length ? allSites$.value : searcher(searchTerm.value)+})const MIN_CARD_WIDTH = 280@@ -21,7 +27,7 @@ }if (typeof window != 'undefined') {const data = await getData()- sites$.value = data.toSorted((x, y) => x.title.localeCompare(y.title))+ allSites$.value = data.toSorted((x, y) => x.title.localeCompare(y.title))}const recents = computed(() =>@@ -84,7 +90,7 @@export default () => {return (<div- class="p-10 mx-auto max-w-screen"+ class="p-2 mx-auto sm:p-5 md:p-10 max-w-screen"ref={node => {if (!node) returnconst resizer = debounce(() => {