-
Notifications
You must be signed in to change notification settings - Fork 916
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
Apply styling to all elements in td-content #1255
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but would really want @geriom to give the final approval (and merge). Thanks all!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thank you!
Otherwise table-layout has no effect. I'm not sure why this broke, possibly google/docsy#1255.
Hello! This change caused I'm not sure if this was intended behaviour, but leaving a breadcrumb here if anyone would like to investigate on the docsy side :) |
@anoadragon453 - thank you for the in-depth analysis and feedback. Given that Docsy assumes that tables are responsive by default, yes this was intended. We're all looking forward to the Bootstrap upgrade. You may be right that after the upgrade your style change will be unnecessary. I'll add a note to the Bootstrap-upgrade issue as a reminder for us to check (added in opening comment). |
This PR is based off of PR 1017, as I could not get clarity on signing the Google CLA from my corporate GH account. I hope the contribution is still useful, my apologies for the overly long wait time.
As stated in #883 (and the original PR), tables were not being styled properly in
<details><summary>
blocks. I found the same issue to affect tables nested in list elements.Removing
>
from the table entry enables proper styling to be applied to any table element that's a child of td-content.As per the request in the original PR comments, I also removed the
>
selector fromblockquote
,ul li
andol li
elements.