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

Update table style #878

Merged
merged 5 commits into from
Aug 2, 2022
Merged

Update table style #878

merged 5 commits into from
Aug 2, 2022

Conversation

newhinton
Copy link
Contributor

Signed-off-by: Felix Nüsse felix.nuesse@t-online.de

This uses a more modern table layout, inspired by the collectives app.

Also thanks to Dai on Stackoverflow for the table-workaround!

Signed-off-by: Felix Nüsse <felix.nuesse@t-online.de>
Signed-off-by: Felix Nüsse <felix.nuesse@t-online.de>
@korelstar
Copy link
Member

Could you please add some screenshots? (Before and after)

@korelstar korelstar added this to the 4.5.0 milestone Jul 11, 2022
@newhinton
Copy link
Contributor Author

Original New
grafik grafik

The green tint is the hover-effect, similar to how text/collectives does it.

Signed-off-by: Felix Nüsse <felix.nuesse@t-online.de>
@korelstar korelstar added feature: Markdown-it Related to preview mode using Markdown-it design Related to the design or user experience labels Jul 11, 2022
Copy link
Member

@korelstar korelstar left a comment

Choose a reason for hiding this comment

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

I really like your PR, the screenshot is looking good! However, I think your last commit was broken. Now, it looks like this:

Screenshot

Another thing: we should not use pixel units here. What about my suggested change?

@newhinton
Copy link
Contributor Author

newhinton commented Jul 11, 2022

@korelstar sorry, what suggestion?

Edit: My tests revealed that 0.75 em as padding works good.

newhinton and others added 2 commits July 11, 2022 22:24
Signed-off-by: Felix Nüsse <felix.nuesse@t-online.de>
@korelstar
Copy link
Member

@korelstar sorry, what suggestion?

Sorry, my suggestion was lost (don't know why).

Edit: My tests revealed that 0.75 em as padding works good.

This is too much from my perspective. I did a little adjustment and I think it's ready to merge, now.

@korelstar korelstar merged commit 558c0c8 into master Aug 2, 2022
@korelstar korelstar deleted the feature/noid/bettertables branch August 2, 2022 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Related to the design or user experience feature: Markdown-it Related to preview mode using Markdown-it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants