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

Ensure selected row color takes precedence #185

Merged
merged 2 commits into from
Nov 16, 2023
Merged

Conversation

carbonrobot
Copy link
Contributor

@carbonrobot carbonrobot commented Nov 16, 2023

Fixes the selected row color on even rows. The even: modifier was overriding the selected row color.

Closes #184

Copy link

changeset-bot bot commented Nov 16, 2023

🦋 Changeset detected

Latest commit: 1b74abc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@envyjs/webui Patch
@envyjs/apollo Patch
@envyjs/core Patch
@envyjs/nextjs Patch
@envyjs/node Patch
@envyjs/web Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

trace.http?.state === HttpRequestState.Sent && 'text-manatee-500',
trace.id !== selectedTraceId && 'even:bg-manatee-200',
trace.id === selectedTraceId && 'bg-manatee-400 text-manatee-950',

Choose a reason for hiding this comment

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

do we need 2 conditions here or can we if else this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, updated. I have a natural aversion to ternary

@carbonrobot carbonrobot merged commit 0892b1f into main Nov 16, 2023
2 checks passed
@carbonrobot carbonrobot deleted the ui/selected-row branch November 16, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Even row selected color is not visible
2 participants