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

MiniTable.RemoveCell hover target is a few pixels too small #2669

Open
david-crespo opened this issue Jan 28, 2025 · 0 comments
Open

MiniTable.RemoveCell hover target is a few pixels too small #2669

david-crespo opened this issue Jan 28, 2025 · 0 comments
Labels

Comments

@david-crespo
Copy link
Collaborator

On #2666, I noticed you can get a few pixels into the RemoveCell without triggering the hover. It's a pain to fix.

Screenshot 2025-01-28 at 3 11 32 PM

2025-01-28-minitable-button-hover.mp4

The relevant CSS:

& td:last-child > div {
@apply w-12 justify-center pl-0 pr-0;
}
& td:last-child > div > button {
@apply -mx-3 -my-3 flex items-center justify-center px-3 py-3;
}
& td:last-child > div:has(button:hover, button:focus) {
@apply bg-accent-secondary-hover;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant