Skip to content

Commit

Permalink
fix: scroll horitontal (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfauchet authored Aug 14, 2024
1 parent aed9c73 commit 4b771b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
11 changes: 4 additions & 7 deletions apps/web/src/components/Preview/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,10 @@ export const Preview = component$<PreviewProps>(({ url, class: classNames, heigh
</Heading>
{props.description && <p class="mb-8 text-gray-600 dark:text-gray-400">{props.description}</p>}
<div class="relative flex w-full justify-between rounded-t-xl border border-gray-200 bg-gray-50 p-4 dark:border-gray-600 dark:bg-gray-700">
<ul>
<li>
<Button color="light" href={fileUrl.value} prefix={IconGithubSolid} size="sm" class="hover:text-purple-600 dark:text-gray-400">
Edit on GitHub
</Button>
</li>
</ul>
<Button color="light" href={fileUrl.value} prefix={IconGithubSolid} size="sm" class="hover:text-purple-600 dark:text-gray-400">
Edit on GitHub
</Button>

<ul class="absolute left-1/2 top-1/2 hidden -translate-x-1/2 -translate-y-1/2 justify-center gap-3 lg:flex">
<li>
<Tooltip
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flowbite-qwik",
"version": "0.35.4",
"version": "0.35.5",
"description": "Unofficial Qwik components built for Flowbite and Tailwind CSS",
"keywords": [
"design-system",
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/src/components/Floating/Floating.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const RenderFloatingElement = component$<RenderFloatingElementProps>(({ r
ref={ref}
class={[
'absolute z-10 inline-block transition-opacity duration-300',
isVisible ? 'visible opacity-100' : 'pointer-events-none invisible opacity-0',
isVisible ? 'block opacity-100' : 'pointer-events-none hidden opacity-0',
classList,
]}
{...props}
Expand Down

0 comments on commit 4b771b2

Please sign in to comment.