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

Decreased balloon toolbar paddings #1250

Merged
merged 3 commits into from
Nov 29, 2017
Merged

Decreased balloon toolbar paddings #1250

merged 3 commits into from
Nov 29, 2017

Conversation

f1ames
Copy link
Contributor

@f1ames f1ames commented Nov 28, 2017

What is the purpose of this pull request?

Task

Does your PR contain necessary tests?

All patches which change the editor code must include tests. You can always read more
on PR testing,
how to set the testing environment and
how to create tests
in the official CKEditor documentation.

This PR contains

  • Unit tests
  • Manual tests

What changes did you make?

Decreased balloon toolbar paddings (-2px). Default CSS already has 3px paddings.

@mlewand mlewand self-requested a review November 28, 2017 15:59
Copy link
Contributor

@mlewand mlewand left a comment

Choose a reason for hiding this comment

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

@f1ames
Copy link
Contributor Author

f1ames commented Nov 28, 2017

@mlewand This is the issue we discussed F2F earlier, buttons and dropdowns has its own right padding/margin. If you take a look on CSS, the right padding was not changed (it is still 0):
https://github.com/ckeditor/ckeditor-dev/pull/1250/files#diff-9514612b4edc2352da78ed2b22fd9aefL15

So previous styling relied on this margin, however now it is too big. We will need a little CSS trickery to remove padding/margin of the last toolbar element and add proper padding here.

@f1ames f1ames requested a review from mlewand November 29, 2017 11:35
@mlewand
Copy link
Contributor

mlewand commented Nov 29, 2017

@mlewand This is the issue we discussed F2F earlier, buttons and dropdowns has its own right padding/margin.

Ohh sorry I actually forgot that. We discussed now once again this matter, and come with a conclusion that it should be possible to adjust that by removing right padding in a wrapper, and leave margin/padding for buttons/richcombo.

@mlewand
Copy link
Contributor

mlewand commented Nov 29, 2017

@Comandeer could you take over the review from here?

Copy link
Member

@Comandeer Comandeer left a comment

Choose a reason for hiding this comment

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

LGTM!

@Comandeer Comandeer merged commit 1542768 into t/933 Nov 29, 2017
@Comandeer Comandeer deleted the t/933-3224 branch November 29, 2017 13:07
mlewand pushed a commit that referenced this pull request Nov 29, 2017
Decreased balloon toolbar paddings
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

3 participants