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

Add some CSS to tables #26

Merged
merged 1 commit into from Apr 21, 2022
Merged

Add some CSS to tables #26

merged 1 commit into from Apr 21, 2022

Conversation

mrtmm
Copy link
Collaborator

@mrtmm mrtmm commented Apr 20, 2022

When using the "tables" extra feature (enabled by default) tables
are created perfectly fine but no styling is added to the tables
by default.

While the tables can be styled/themed via theme/brand setups as they are,
not everyone using this XBlock may have access to these settings.

Add some CSS to match the tables to the current raw-HTML XBlock tables
to create a better and more cohesive user experience.

When using the "tables" extra feature (enabled by default) tables
are created perfectly fine but no styling is added to the tables
by default.

While the tables can be styled/themed via theme/brand setups as they are,
not everyone using this XBlock may have access to these settings.

Add some CSS to match the tables to the current raw-HTML XBlock tables
to create a better and more cohesive user experience.
@mrtmm mrtmm requested a review from fghaas April 20, 2022 14:53
@mrtmm
Copy link
Collaborator Author

mrtmm commented Apr 20, 2022

@fghaas the fact the we currently add no styling to tables whatsoever appears to look like tables are "broken".
#22
https://discuss.openedx.org/t/markdown-plugin-table-bug/6972
I figured we could default to make it look like the tables in the HTML block. Of course anyone could still override it via theme/brand. What do you think?

@fghaas
Copy link

fghaas commented Apr 21, 2022

This looks good to me but I have no bandwidth to test this right now so I'll trust your judgment. :) If you say this is good, I'll approve and merge.

@mrtmm
Copy link
Collaborator Author

mrtmm commented Apr 21, 2022

I've tested it locally and I believe it's good to merge, we can ask on the forum for user feedback also, I believe this will be helpful for them.

Copy link

@fghaas fghaas left a comment

Choose a reason for hiding this comment

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

Sounds good to me!

@fghaas fghaas merged commit 502b523 into citynetwork:master Apr 21, 2022
@mrtmm mrtmm mentioned this pull request Jul 21, 2022
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.

None yet

2 participants