-
Notifications
You must be signed in to change notification settings - Fork 6
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
IBX-8342: Fixed creating tables in Online Editor #168
Conversation
@@ -154,11 +154,6 @@ | |||
} | |||
|
|||
.ck-toolbar__items { | |||
.ck-button { | |||
padding: calculateRem(8px); |
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.
I believe this will change the look of all buttons in the toolbar, I don't think we want to change the design here.
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.
@dew326 Hi :) Could please be more precise? How should the design be ? This toolbar is customisable, new buttons can be added on the fly
See image. Thx
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.
Yeah, screenshot shows exactly what I meant. The spaces between buttons are smaller after the change.
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.
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.
There is no space between table button and the line on the right.
And margin will probably make that space is not clickable, padding is better because the click area is bigger.
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.
.ck-button {
padding: calculateRem(8px);
margin: 0;
&.ck-insert-table-dropdown-grid-box {
padding: 0;
margin: var(--ck-insert-table-dropdown-box-margin);
}
}
I think this should do the trick to keep current styling of toolbar and fix the table grid.
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.
@@ -154,11 +154,6 @@ | |||
} | |||
|
|||
.ck-toolbar__items { | |||
.ck-button { | |||
padding: calculateRem(8px); |
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.
.ck-button {
padding: calculateRem(8px);
margin: 0;
&.ck-insert-table-dropdown-grid-box {
padding: 0;
margin: var(--ck-insert-table-dropdown-box-margin);
}
}
I think this should do the trick to keep current styling of toolbar and fix the table grid.
Quality Gate passedIssues Measures |
padding: 0; | ||
margin: var(--ck-insert-table-dropdown-box-margin); | ||
} | ||
} |
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.
} | |
} | |
bcc64f1
to
a7d8d55
Compare
Quality Gate passedIssues Measures |
Description:
Fix issue IBX8342 issue on table in rich text
For QA:
Documentation: