enzostvs HF Staff commited on
Commit
3ec40db
·
1 Parent(s): f8fbee1

transparent scrollbar

Browse files
assets/globals.css CHANGED
@@ -369,3 +369,12 @@ body {
369
  z-index: 1;
370
  filter: blur(1px);
371
  }
 
 
 
 
 
 
 
 
 
 
369
  z-index: 1;
370
  filter: blur(1px);
371
  }
372
+
373
+ .transparent-scroll {
374
+ scrollbar-width: none; /* Firefox */
375
+ -ms-overflow-style: none; /* IE and Edge */
376
+ }
377
+
378
+ .transparent-scroll::-webkit-scrollbar {
379
+ display: none; /* Chrome, Safari, Opera */
380
+ }
components/editor/ask-ai/prompt-builder/content-modal.tsx CHANGED
@@ -16,7 +16,7 @@ export const ContentModal = ({
16
  }) => {
17
  const [collapsed, setCollapsed] = useState(["colors", "theme"]);
18
  return (
19
- <main className="overflow-x-hidden max-h-[50dvh] overflow-y-auto">
20
  <section className="w-full border-b border-neutral-800/80 px-6 py-3.5 sticky top-0 bg-neutral-900 z-10">
21
  <div className="flex items-center justify-between gap-3">
22
  <p className="text-base font-semibold text-neutral-200">
 
16
  }) => {
17
  const [collapsed, setCollapsed] = useState(["colors", "theme"]);
18
  return (
19
+ <main className="overflow-x-hidden max-h-[50dvh] overflow-y-auto transparent-scroll">
20
  <section className="w-full border-b border-neutral-800/80 px-6 py-3.5 sticky top-0 bg-neutral-900 z-10">
21
  <div className="flex items-center justify-between gap-3">
22
  <p className="text-base font-semibold text-neutral-200">
components/editor/ask-ai/prompt-builder/tailwind-colors.tsx CHANGED
@@ -26,7 +26,7 @@ export const TailwindColors = ({
26
  return (
27
  <div
28
  ref={ref}
29
- className="flex items-center justify-start gap-3 overflow-x-auto px-5 scrollbar-hide"
30
  >
31
  {TAILWIND_COLORS.map((color) => (
32
  <div
 
26
  return (
27
  <div
28
  ref={ref}
29
+ className="flex items-center justify-start gap-3 overflow-x-auto px-5 transparent-scroll"
30
  >
31
  {TAILWIND_COLORS.map((color) => (
32
  <div