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

fix discord button background #814

Merged
merged 1 commit into from
Dec 21, 2024
Merged

fix discord button background #814

merged 1 commit into from
Dec 21, 2024

Conversation

rawxfish
Copy link
Collaborator

Also added a small border to make the disabled version of the button stand out more in light mode against the green and red backgrounds of solved and stuck puzzles.
Light mode:
image

Dark mode:
image

@@ -211,8 +213,8 @@ export const LinkCell = ({ row }) => {
) : loadingDiscord ? (
<PulsingBlurpleDiscordSvg />
) : (
<button
onclick={createDiscordChannels}
<a
Copy link
Contributor

Choose a reason for hiding this comment

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

I think I told akira to use a button instead of so maybe that's why it broke. What was wrong with ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The button inherits a bunch of Bootstrap styling that adds the ugly background color and border... that whole cell of buttons uses links instead of buttons for this reason, I guess the right thing to do is switch all of them to buttons and override the Bootstrap styling... I sometimes wonder if we should replace Bootstrap with something less opinionated...

Copy link
Contributor

Choose a reason for hiding this comment

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

Ahhhhh ok. Ok sounds good. Yeah we should definitely just get rid of bootstrap lol

@rawxfish rawxfish merged commit ebe8c4f into main Dec 21, 2024
1 of 2 checks passed
@rawxfish rawxfish deleted the discordbtn branch December 21, 2024 10:18
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.

2 participants