Skip to content

Bug Fixed: Change cursor pointer in checkbox's disabled state - #92

Closed
PriyanshuPz wants to merge 5 commits into
appwrite:mainfrom
PriyanshuPz:fix/disabled-state
Closed

Bug Fixed: Change cursor pointer in checkbox's disabled state#92
PriyanshuPz wants to merge 5 commits into
appwrite:mainfrom
PriyanshuPz:fix/disabled-state

Conversation

@PriyanshuPz

@PriyanshuPzPriyanshuPz commented Jun 14, 2023

Copy link
Copy Markdown

What does this PR do?

Fixed Change cursor pointer in checkbox, Switch, radio's disabled state

Test Plan

Edited:

  1. _switech.scss
  2. __radio-and-checkbox.scss

added:

// _switech.scss&:where(:disabled) {
--p-bg-color: var(--p-bg-color-disabled);
--p-switch-bg-color: var(--p-switch-bg-color-disabled);
cursor: default; // <-- added&:where(:checked) { --p-bg-color: var(--p-bg-color-checked-disabled); }
}
// __radio-and-checkbox.scss&:where(:disabled) {
--p-bg-color: var(--p-bg-color-disabled);
--p-border-color: var(--p-border-color-ddisabled);
cursor: default; // <-- added&:where(:checked) {
--p-icon-color: var(--p-icon-color-disabled-checked);
--p-bg-color: var(--p-bg-color-disabled-checked);
--p-border-color: var(--p-border-color-disabled-checked);
}
}

Related PRs and Issues

Bug Report: Change cursor pointer in checkbox's disabled state #91

Have you read the Contributing Guidelines on issues?

No, Sorry Forgot

@changeset-bot

changeset-botBot commented Jun 14, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e1ff1bf

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

This PR includes changesets to release 1 package
NameType
@appwrite.io/pinkPatch

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

@vercel

vercelBot commented Jun 14, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

NameStatusPreviewCommentsUpdated (UTC)
pink-design✅ Ready (Inspect)Visit Preview💬 Add feedbackOct 14, 2023 5:58am
ui-kitchensink✅ Ready (Inspect)Visit Preview💬 Add feedbackOct 14, 2023 5:58am

Sign up for freeto 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.

1 participant

@PriyanshuPz