8000 Update _nav.scss by FahadAlsulaiman · Pull Request #2133 · tabler/tabler · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update _nav.scss #2133

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

Merged
merged 4 commits into from
Feb 6, 2025
Merged

Update _nav.scss #2133

merged 4 commits into from
Feb 6, 2025

Conversation

FahadAlsulaiman
Copy link
Contributor

Issue: Dash (-) causing W3C validator error and CSS issues

Problem:
The use of a dash (-) in certain areas is triggering errors in the W3C validator and affecting the proper functioning of CSS.

  1. HTML Issue: The dash might be incorrectly placed in attribute names or element IDs, causing validation errors.

    • Example: data-name is fine, but ensure it's used correctly and within the valid context.
  2. CSS Issue: If the dash is used improperly in class or ID names, it can cause selector issues in CSS.

    • Example: .my-class-name is correct, but make sure that the class is correctly applied to the element and styled properly in CSS.

### Issue: Dash (`-`) causing W3C validator error and CSS issues

**Problem**:
The use of a dash (`-`) in certain areas is triggering errors in the W3C validator and affecting the proper functioning of CSS.

1. **HTML Issue**: The dash might be incorrectly placed in attribute names or element IDs, causing validation errors.
   - Example: `data-name` is fine, but ensure it's used correctly and within the valid context.

2. **CSS Issue**: If the dash is used improperly in class or ID names, it can cause selector issues in CSS.
   - Example: `.my-class-name` is correct, but make sure that the class is correctly applied to the element and styled properly in CSS.

**Proposed Fix**:
- Ensure that any attribute or class names are formatted correctly. For example, `data-name` is valid, but check for any spelling mistakes or misplaced dashes.
- In CSS, ensure proper selector syntax like:
   ```css
   .my-class-name {
       /* Styles here */
   }
Copy link
changeset-bot bot commented Feb 6, 2025

🦋 Changeset detected

Latest commit: 0de9bbe

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

This PR includes changesets to release 1 package
Name Type
@tabler/core Patch

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

Copy link
vercel bot commented Feb 6, 2025

@FahadAlsulaiman is attempting to deploy a commit to the Tabler Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
vercel bot commented Feb 6, 2025

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

Name Status Preview Updated (UTC)
tabler ✅ Ready (Inspect) Visit Preview Feb 6, 2025 5:18pm

@codecalm
Copy link
Member
codecalm commented Feb 6, 2025

I've updated code with calc() function, thank you for help! 🙂

@codecalm codecalm merged commit 78383ef into tabler:dev Feb 6, 2025
4 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
0