Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

CSS styles being overridden #13

@raulfdm

Description

@raulfdm

Hey there 👋.

First, I'd say well done for this project. Really useful.

Just want to bring a point about styling. I currently try to use react-static-tweets in my blog and my global styles are gaining precedence over tweets style no matter where I add import 'react-static-tweets/styles.css'; (e.g. _app.tsx or component specifics).

That's probably because I'm using tailwind with typography plugin and the second one is being added way after react-static styles:

image

In a nutshell, all my global styles are impacting directly the tweets.

I was wondering the package could provide some sort of CSS scoping + reset (with whatever style it needs to be applied like no margins, no borders, etc).

Info

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions