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

Style blocks (part 1) #164

Open
3 of 4 tasks
dawnwages opened this issue Dec 26, 2023 · 3 comments · Fixed by #159
Open
3 of 4 tasks

Style blocks (part 1) #164

dawnwages opened this issue Dec 26, 2023 · 3 comments · Fixed by #159
Assignees
Labels
frontend Front end issues should be considered together

Comments

@dawnwages
Copy link
Collaborator

dawnwages commented Dec 26, 2023

@dawnwages dawnwages added the frontend Front end issues should be considered together label Dec 26, 2023
@dawnwages dawnwages assigned dawnwages and sabderemane and unassigned dawnwages Dec 26, 2023
@dawnwages dawnwages linked a pull request Dec 29, 2023 that will close this issue
@dawnwages
Copy link
Collaborator Author

TailwindCSS has a pretty aggressive normalize.css that doesn't allow for easy override. Currently tailwind is implemented in the unsafe temporary version using the cdn. #163 There's a ticket already to create a more production-ready implementation by adding tailwind in node.

I have two options: 1. tackle production tailwind set up now and hopefully the css inheritance allows me to style h1, h2, h3, h4 blocks and we can then use RichText Blocks. or 2. customize each element so we can add custom classes to each.

@dawnwages
Copy link
Collaborator Author

Went with option two and gutted the features of the RichText Block. It's still beneficial to keep RichText Block for underline, italicized, bold, strikethrough, superscript and subscript text.

The status of all elements can be seen on staging https://staging-djangonaut-space.azurewebsites.net/comms/elements/

@dawnwages
Copy link
Collaborator Author

Also need to make sure that all of these elements are responsive. Currently they are not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Front end issues should be considered together
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants