-
Notifications
You must be signed in to change notification settings - Fork 82
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
traffic light icons on hover #63
Comments
OMG!!!! Thank you!!! please do make a PR 🤩🤩 |
I believe here thougth they seem to be in order the naming is not correct: <ButtonBase className={css.closeLight} onClick={closeApp} />
<ButtonBase className={css.stretchLight} />
<ButtonBase className={css.minimizeLight} /> closeLight -> Red Button Tho in styles they are styled correctly and yes i am working on a PR on it ⚡️. |
Feel free to rename the classes |
I have no idea which of these do what except for the red one. Use your judgement 😁 |
Hi. Sorry for the inconvenience. I just merged a PR which changes TrafficLights component a bit. Could you pls git pull it and fix the merge conflicts, if any |
Alright let me see 👀 |
@PuruVJ there's a problem PR merged: It's hiding icons arent styles scoped? |
Yes it is hiding styles for me too |
They are scoped if you use CSS modules |
Huh, it is CSS modules, but it is still hiding. Strange |
No issues, I'll scope it. No big deal :) |
Fixed. Will be live soon |
Yeah this would solve it: .container {
display: inline-flex;
align-items: center;
gap: 0.45rem;
height: 100%;
&:hover .trafficLight svg {
visibility: visible;
}
}
.trafficLight svg {
visibility: hidden;
} |
Fixed in #66 |
Hi, Can I ask you your Twitter handle? |
Yeah sure it's @DeepankarBhade |
You mostly know this, traffic lights show icons in hover state.
I tried implementing it looks like this
If you want this implemented let me know I would raise a PR on it.
The text was updated successfully, but these errors were encountered: