Skip to content

Commit

Permalink
remove custom scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed May 27, 2023
1 parent f10638c commit 4872d6d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/www/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<body
data-sveltekit-preload-data="hover"
class="min-h-screen bg-background antialiased font-sans dark"
class="min-h-screen bg-background antialiased font-sans"
>
<div style="display: contents" class="flex min-h-screen flex-col">
%sveltekit.body%
Expand Down
12 changes: 6 additions & 6 deletions apps/www/src/lib/config/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,11 @@ export const examples: Example[] = [
name: "Authentication",
href: "/examples/authentication",
code: "https://github.com/huntabyte/shadcn-svelte/tree/main/apps/www/src/routes/examples/authentication"
},
{
name: "Forms",
href: "#",
label: "Soon",
code: "https://github.com/huntabyte/shadcn-svelte/tree/main/apps/www/src/routes/examples/forms"
}
// {
// name: "Forms",
// href: "#",
// label: "Soon",
// code: "https://github.com/huntabyte/shadcn-svelte/tree/main/apps/www/src/routes/examples/forms"
// }
];
7 changes: 4 additions & 3 deletions apps/www/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@
font-feature-settings: "rlig" 1, "calt" 1;
}

* {
/* * {
scrollbar-width: auto;
scrollbar-color: #7f8ea3;
}
} */

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
/* *::-webkit-scrollbar {
width: 10px;
height: 10px;
}
Expand All @@ -100,6 +100,7 @@
background-color: #7f8ea3;
border: 3px none #ffffff;
}
*/
}

@layer utilities {
Expand Down

1 comment on commit 4872d6d

@vercel
Copy link

@vercel vercel bot commented on 4872d6d May 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.