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: apply select style locally #1451

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

miteyema
Copy link
Contributor

@miteyema miteyema commented Mar 7, 2024

⚡ PowerGrid - Pull Request

Welcome and thank you for your interest in contributing to our project!. You must use this template to submit a Pull Request or it will not be accepted.


Motivation

  • Bug fix
  • Enhancement
  • New feature
  • Breaking change

Description

This Pull Request adds a local scope to the styling of the select tag.
Why? Because currently when doing import "./../../vendor/power-components/livewire-powergrid/dist/tailwind.css" the custom select style is applied throughout the entire website/application, i.e. unintentionally restyling outside the powergrid component.
This PR adds a scope to the selector preventing this.

Related Issue(s): #_____.

Documentation

This PR requires Documentation update?

  • Yes
  • No
  • I have already submitted a Documentation pull request.

@luanfreitasdev
Copy link
Collaborator

Thank you @miteyema

@luanfreitasdev luanfreitasdev merged commit 814cbf0 into Power-Components:5.x Mar 8, 2024
14 of 15 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.

2 participants