-
Notifications
You must be signed in to change notification settings - Fork 86
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
Fix table width #4380
Fix table width #4380
Conversation
actual tables shouldn't be set to 100% by default. Add a config option so it's only applied to pull quote |
Actually we don't need a config option since we already have className which we can check against whether it's a multi line quote or not |
Classnames are for styling and you shouldn't be using them for anything else. If I could, I would write a lint rule not allowing to compare a classname using Use a separate prop like |
@@ -53,6 +53,7 @@ describe('editor3.component.table-cell', () => { | |||
it('should render', () => { | |||
const wrapper = shallow( | |||
<TableCell | |||
fullWidth={{}} |
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.
how are you passing an empty object where a boolean is required?
43f988f
into
superdesk:authoring-react-post-broadcasting
This reverts commit 43f988f.
SDESK-7116
I didn't find the ticket specific to this issue but we can consider it a part of the general fixes for multi-line quote