Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add media query snippet for tailwindcss #33

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

Closed
Kr-Upendra wants to merge 5 commits into quicksnip-dev:main from Kr-Upendra:main
Closed

add media query snippet for tailwindcss #33

Kr-Upendra wants to merge 5 commits into quicksnip-dev:main from Kr-Upendra:main

Conversation

Copy link

@Kr-Upendra Kr-Upendra commented Dec 30, 2024

Includes media query snippet for tailwindCSS.

Copy link

netlify bot commented Dec 30, 2024
edited
Loading

Deploy Preview for quicksnip ready!

Name Link
🔨 Latest commit bf7ff4c
🔍 Latest deploy log https://app.netlify.com/sites/quicksnip/deploys/6772bf6778251f0008c97095
😎 Deploy Preview https://deploy-preview-33--quicksnip.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.

Copy link
Collaborator

@Mathys-Gasnier Mathys-Gasnier Dec 30, 2024

Choose a reason for hiding this comment

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

You shouldn't modify this file, it is auto generated by a script and a github workflow, please revert the changes you made here.

Copy link
Collaborator

@Mathys-Gasnier Mathys-Gasnier Dec 30, 2024

Choose a reason for hiding this comment

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

The icon should be 50x50px, you can use tools such as resize-svg to resize it.

Copy link
Contributor

@GreenMan36 GreenMan36 Dec 30, 2024

Choose a reason for hiding this comment

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

Consider adding aria tags for accessibility; you can check the other SVG files as example.

<svg... aria-labelledby=tailwind-logo-titletailwind-logo-description">
<title id="tailwind-logo-title">Tailwind CSS Logo</title>
<desc id="tailwind-logo-description">A light blue symbol made of two parallel wavy lines, similar to a tilde</desc>

Mathys-Gasnier reacted with thumbs up emoji
Copy link
Collaborator

@Mathys-Gasnier Mathys-Gasnier Dec 30, 2024

Choose a reason for hiding this comment

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

I think your editor generated this file, please remove it

Copy link
Collaborator

@Mathys-Gasnier Mathys-Gasnier Dec 30, 2024

Choose a reason for hiding this comment

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

I think your editor generated this file, please remove it

Copy link
Collaborator

@psychlone77 psychlone77 Dec 30, 2024

Choose a reason for hiding this comment

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

I like these snippets. I would suggest a few changes. Indicate that using min width is for a mobile first approach, and max-width is for a desktop-first approach. Also give the user some context on where to use this snippet. Like here. Give context like the file to paste it into and inside which field it should go into. Example:

// tailwind.config.js
module.exports = {
 theme: {
 screens: {
 'sm': '640px',
 'md': '768px',
 'lg': '1024px',
 'xl': '1280px',
 '2xl': '1536px',
 }
 }
}

Copy link
Author

made the required changes.

Copy link
Collaborator

you forgot to remove the two .tsbuildinfo files you added

Copy link
Author

remove auto generated files

@Kr-Upendra Kr-Upendra closed this by deleting the head repository Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@psychlone77 psychlone77 psychlone77 left review comments

@Mathys-Gasnier Mathys-Gasnier Mathys-Gasnier approved these changes

+1 more reviewer

@GreenMan36 GreenMan36 GreenMan36 left review comments

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /