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: force display none for HstRadio (fix #537) #607

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

50rayn
Copy link
Contributor

@50rayn 50rayn commented Oct 11, 2023

Description

In the issue #537, was installed @tailwindcss/forms which adds globally styles for [type="checkbox"], [type="radio"], where is display: inline-block. Even if in HstRadion was added htw-hidden, it didn't have enough specificity to overwrite. So, I added "!" to make it important.

Fixes #537

Additional context

I would say, my fix is not the perfect one but it at least fixes temporarily the issue. I understand that TailwindCSS speed up development, but it brings problems for users who already use Tailwind and the applied class can be easily overwritten by a stronger specificity selector. I think it should be reviewed the styles appliance and isolation (e.g. scoped style)


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • If it's a new feature, provide a convincing reason to add it. Ideally, you should open a suggestion issue first and have it approved before working on it.
  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@codesandbox
Copy link

codesandbox bot commented Oct 11, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@stackblitz
Copy link

stackblitz bot commented Oct 11, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Oct 11, 2023

Deploy Preview for histoire-examples-svelte3 ready!

Name Link
🔨 Latest commit 6f34239
🔍 Latest deploy log https://app.netlify.com/sites/histoire-examples-svelte3/deploys/6533d2df78163200086becdf
😎 Deploy Preview https://deploy-preview-607--histoire-examples-svelte3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 11, 2023

Deploy Preview for histoire-controls ready!

Name Link
🔨 Latest commit 6f34239
🔍 Latest deploy log https://app.netlify.com/sites/histoire-controls/deploys/6533d2deaba0ff000807f160
😎 Deploy Preview https://deploy-preview-607--histoire-controls.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 11, 2023

Deploy Preview for histoire-site ready!

Name Link
🔨 Latest commit 6f34239
🔍 Latest deploy log https://app.netlify.com/sites/histoire-site/deploys/6533d2ded9f2430008354977
😎 Deploy Preview https://deploy-preview-607--histoire-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 11, 2023

Deploy Preview for histoire-examples-vue3 ready!

Name Link
🔨 Latest commit 6f34239
🔍 Latest deploy log https://app.netlify.com/sites/histoire-examples-vue3/deploys/6533d2de120ccc000845f704
😎 Deploy Preview https://deploy-preview-607--histoire-examples-vue3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@50rayn 50rayn reopened this Oct 21, 2023
@50rayn
Copy link
Contributor Author

50rayn commented Oct 21, 2023

Sorry for these manipulations with force-push. I just wanted to have only one commit and a clean work-tree.

@Akryum Akryum merged commit fc4802a into histoire-dev:main Oct 25, 2023
6 checks passed
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.

Hst.Radio control cmpt has visual bug, if project is using tailwind
2 participants