repos / neovimcraft

website that makes it easy to find neovim plugins
git clone https://github.com/neurosnap/neovimcraft.git

commit
13cf710
parent
d3e25c7
author
Eric Bower
date
2021-08-16 21:53:46 +0000 UTC
fix mobile horizontal scrolling
2 files changed,  +4, -7
M src/routes/index.svelte
+0, -7
 1@@ -71,14 +71,7 @@
 2     return tags.map((t) => tagDb[t]).filter(Boolean);
 3   }
 4   
 5-  // const parsed = qs.parse(typeof window !== 'undefined' ? window.location.search : '?search=');
 6-  // let initialSearch = (parsed['search'] as string) || '';
 7-  // let search = '' // initialSearch;
 8   $: search = decodeURIComponent($page.query.get('search') || '');
 9-  /* page.subscribe(({ query }) => {
10-    search = decodeURIComponent(query.get('search') || '');
11-  }); */
12-
13   export let plugins: Plugin[] = [];
14   export let tags: Tag[] = [];
15   $: filterTotal = filterPlugins({ search, plugins });
M static/main.css
+4, -0
 1@@ -38,6 +38,10 @@
 2   background-color: var(--highlight-secondary);
 3 }
 4 
 5+html {
 6+  overflow-x: hidden;
 7+}
 8+
 9 body {
10   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
11     'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';