Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed image display issue in dialog-image component and add hover effect on navbar icons #61

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/docs/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,15 @@ function Header() {
href='https://twitter.com/Ibelick'
target='_blank'
rel='noopener noreferrer'
className='inline-flex h-9 w-9 items-center justify-center'
className='inline-flex h-9 w-9 items-center justify-center rounded-full hover:bg-[#f2f2f2] dark:hover:bg-[#2a2a2a]'
>
<XIcon className='h-4 w-4 fill-zinc-950 dark:fill-white' />
</a>
<a
href='https://github.com/ibelick/motion-primitives'
target='_blank'
rel='noopener noreferrer'
className='inline-flex h-9 w-9 items-center justify-center'
className='inline-flex h-9 w-9 items-center justify-center rounded-full hover:bg-[#f2f2f2] dark:hover:bg-[#2a2a2a]'
>
<GitHubIcon className='h-4 w-4 fill-zinc-950 dark:fill-white' />
</a>
Expand Down
4 changes: 2 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ function Header() {
href='https://twitter.com/Ibelick'
target='_blank'
rel='noopener noreferrer'
className='inline-flex h-9 w-9 items-center justify-center'
className='inline-flex h-9 w-9 items-center justify-center rounded-full hover:bg-[#f2f2f2] dark:hover:bg-[#2a2a2a]'
>
<XIcon className='h-4 w-4 fill-zinc-950 dark:fill-white' />
</a>
<a
href='https://github.com/ibelick/motion-primitives'
target='_blank'
rel='noopener noreferrer'
className='inline-flex h-9 w-9 items-center justify-center'
className='inline-flex h-9 w-9 items-center justify-center rounded-full hover:bg-[#f2f2f2] dark:hover:bg-[#2a2a2a]'
>
<GitHubIcon className='h-4 w-4 fill-zinc-950 dark:fill-white' />
</a>
Expand Down
4 changes: 2 additions & 2 deletions components/examples/dialog-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ export function DialogBasicImage() {
>
<DialogTrigger>
<DialogImage
src='https://64.media.tumblr.com/a56381366ceaab29b760aabe5e88df07/f3b5e9af4d3103f3-97/s2048x3072/caec6beeee2cbeb80b05e88c917b187926749703.jpg'
src='https://images.unsplash.com/photo-1501952476817-d7ae22e8ee4e?q=80&w=2069&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'
alt='Sony Style Store in the Sony Center complex - Berlin, Germany (2000)'
className='max-w-xs rounded-[4px]'
/>
</DialogTrigger>
<DialogContainer>
<DialogContent className='relative'>
<DialogImage
src='https://64.media.tumblr.com/a56381366ceaab29b760aabe5e88df07/f3b5e9af4d3103f3-97/s2048x3072/caec6beeee2cbeb80b05e88c917b187926749703.jpg'
src='https://images.unsplash.com/photo-1501952476817-d7ae22e8ee4e?q=80&w=2069&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'
alt='Sony Style Store in the Sony Center complex - Berlin, Germany (2000)'
className='h-auto w-full max-w-[90vw] rounded-[4px] object-cover lg:h-[90vh]'
/>
Expand Down
2 changes: 1 addition & 1 deletion components/website/theme-switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function ThemeSwitch() {
<DropdownMenu>
<DropdownMenuTrigger asChild>
<button
className='inline-flex h-9 w-9 items-center justify-center'
className='inline-flex h-9 w-9 items-center justify-center rounded-full outline-none hover:bg-[#f2f2f2] dark:hover:bg-[#2a2a2a]'
aria-label='Toggle theme'
type='button'
>
Expand Down